Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-15798

Make DataBufferUtilsTests#writeAsynchronousFileChannel reliable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.0 RC3
    • Fix Version/s: 5.0 RC4
    • Component/s: Reactive
    • Labels:
      None
    • Last commented by a User:
      false

      Description

      On Spring CI we see approximately a 50% failure rate on DataBufferUtilsTests#writeAsynchronousFileChannel with the following error:

      java.lang.AssertionError: java.lang.AssertionError: VerifySubscriber timed out on false
      java.lang.AssertionError: VerifySubscriber timed out on false
      	at reactor.test.DefaultStepVerifierBuilder$DefaultVerifySubscriber.pollTaskEventOrComplete(DefaultStepVerifierBuilder.java:1470)
      	at reactor.test.DefaultStepVerifierBuilder$DefaultVerifySubscriber.verify(DefaultStepVerifierBuilder.java:1056)
      	at reactor.test.DefaultStepVerifierBuilder$DefaultStepVerifier.verify(DefaultStepVerifierBuilder.java:696)
      	at org.springframework.core.io.buffer.DataBufferUtilsTests.writeAsynchronousFileChannel(DataBufferUtilsTests.java:227)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      (53 more lines...)
      

      I am going to ignore this test for now, but it should be fixed before GA.

        Activity

        Show
        arjen.poutsma Arjen Poutsma added a comment - Fixed in https://github.com/spring-projects/spring-framework/commit/d5da823482134cc447a7023ad223a661cc50e348

          People

          • Assignee:
            arjen.poutsma Arjen Poutsma
            Reporter:
            sdeleuze S├ębastien Deleuze
            Last updater:
            St├ęphane Nicoll
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Days since last comment:
              8 weeks, 4 days ago