Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8193174

SubmissionPublisher invokes the Subscriber's onComplete before all of its submitted items have been published

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 10
    • Fix Version/s: 10
    • Component/s: core-libs
    • Labels:
      None

      Description

      Failed once on Linux 64:

      JavaTest Message: JUnit Failure: testLaggedOffer(SubmissionPublisherTest): expected:<4> but was:<0>
      junit.framework.AssertionFailedError: expected:<4> but was:<0>
      at junit.framework.Assert.fail(Assert.java:50)
      at junit.framework.Assert.failNotEquals(Assert.java:287)
      at junit.framework.Assert.assertEquals(Assert.java:67)
      at junit.framework.Assert.assertEquals(Assert.java:199)
      at junit.framework.Assert.assertEquals(Assert.java:205)
      at SubmissionPublisherTest.testLaggedOffer(SubmissionPublisherTest.java:733)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at junit.framework.TestCase.runTest(TestCase.java:168)
      at JSR166TestCase.runTest(JSR166TestCase.java:359)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                martin Martin Buchholz
                Reporter:
                fyuan Frank Yuan
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: