java.lang.Error: TEST]> but was:<[No error thrown]>

QuickFIX/J JIRA | Slawomir Pawlewicz | 2 years ago
  1. 0

    I executed quickifix test on jdk 1.6. All went fine. On jdk 1.8 failed: ------------------------------------------------------------------------------- Test set: quickfix.SessionTest ------------------------------------------------------------------------------- Tests run: 47, Failures: 6, Errors: 0, Skipped: 0, Time elapsed: 1.514 sec <<< FAILURE! - in quickfix.SessionTest testSequenceResetStackOverflow(quickfix.SessionTest) Time elapsed: 0.012 sec <<< FAILURE! java.lang.AssertionError: expected:<51> but was:<50> at org.junit.Assert.fail(Assert.java:93) at org.junit.Assert.failNotEquals(Assert.java:647) at org.junit.Assert.assertEquals(Assert.java:128) at org.junit.Assert.assertEquals(Assert.java:472) at org.junit.Assert.assertEquals(Assert.java:456) at quickfix.SessionTest.testSequenceResetStackOverflow(SessionTest.java:1044) testResendRequestMsgSeqNum(quickfix.SessionTest) Time elapsed: 0.011 sec <<< FAILURE! java.lang.AssertionError: Session should be logged out since seqnum too low! at org.junit.Assert.fail(Assert.java:93) at org.junit.Assert.assertTrue(Assert.java:43) at org.junit.Assert.assertFalse(Assert.java:68) at quickfix.SessionTest.testResendRequestMsgSeqNum(SessionTest.java:1172) testSimultaneousResendRequests(quickfix.SessionTest) Time elapsed: 0 sec <<< FAILURE! java.lang.AssertionError: null at org.junit.Assert.fail(Assert.java:92) at org.junit.Assert.assertTrue(Assert.java:43) at org.junit.Assert.assertTrue(Assert.java:54) at quickfix.SessionTest.testSimultaneousResendRequests(SessionTest.java:1225) testDontCatchErrorsFromCallback(quickfix.SessionTest) Time elapsed: 0.003 sec <<< FAILURE! org.junit.ComparisonFailure: expected:<[java.lang.Error: TEST]> but was:<[No error thrown]> at org.junit.Assert.assertEquals(Assert.java:125) at org.junit.Assert.assertEquals(Assert.java:147) at quickfix.SessionTest.testDontCatchErrorsFromCallback(SessionTest.java:1462) testAcceptorRelogon(quickfix.SessionTest) Time elapsed: 0 sec <<< FAILURE! java.lang.AssertionError: null at org.junit.Assert.fail(Assert.java:92) at org.junit.Assert.assertTrue(Assert.java:43) at org.junit.Assert.assertFalse(Assert.java:68) at org.junit.Assert.assertFalse(Assert.java:79) at quickfix.SessionTest.testAcceptorRelogon(SessionTest.java:1632) testStateFlagsAreResetOnLogout(quickfix.SessionTest) Time elapsed: 0.001 sec <<< FAILURE! java.lang.AssertionError: null at org.junit.Assert.fail(Assert.java:92) at org.junit.Assert.assertTrue(Assert.java:43) at org.junit.Assert.assertFalse(Assert.java:68) at org.junit.Assert.assertFalse(Assert.java:79) at quickfix.SessionTest.testStateFlagsAreResetOnLogout(SessionTest.java:1670)

    QuickFIX/J JIRA | 2 years ago | Slawomir Pawlewicz
    java.lang.Error: TEST]> but was:<[No error thrown]>
  2. 0

    Quartz scheduling threads killed by exceptions

    https://bugzilla.redhat.com/bugzilla/ | 9 years ago | Len DiMaggio
    java.lang.Error: Thrown Error
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Unit Test Results

    sourceforge.net | 6 months ago
    java.lang.Error: Test, throws an Error.
  5. 0

    [groovy-user] Not catching Errors properly

    Google Groups | 6 years ago | Vaclav Pech
    org.codehaus.groovy.runtime.InvokerInvocationException: java.lang.Error: test

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.Error

      TEST]> but was:<[No error thrown]>

      at org.junit.Assert.assertEquals()
    2. JUnit
      Assert.assertEquals
      1. org.junit.Assert.assertEquals(Assert.java:125)
      2. org.junit.Assert.assertEquals(Assert.java:147)
      2 frames
    3. Apache ServiceMix :: Bundles :: ${pkgArtifactId}
      SessionTest.testDontCatchErrorsFromCallback
      1. quickfix.SessionTest.testDontCatchErrorsFromCallback(SessionTest.java:1462)
      1 frame