java.lang.AssertionError: expected:<51> but was:<50>

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

    [QFJ-837] Tests on jdk1.8 fail - QuickFIX/J Jira

    quickfixj.org | 6 days ago
    java.lang.AssertionError: expected:<51> but was:<50>
  2. 0

    QuickFIX/J Jira

    quickfixj.org | 6 months ago
    java.lang.AssertionError: expected:<51> but was:<50>
  3. 0

    QuickFIX/J Jira

    quickfixj.org | 1 year ago
    java.lang.AssertionError: expected:<51> but was:<50>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    QuickFIX/J Jira

    quickfixj.org | 3 months ago
    java.lang.AssertionError: expected:<51> but was:<50>
  6. 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.AssertionError: expected:<51> but was:<50>

  1. davidvanlaatum 1 times, last 2 weeks ago
  2. andyglick 9 times, last 8 months ago
  3. WoodenDoors 3 times, last 8 months ago
  4. davidvanlaatum 103 times, last 9 months ago
32 unregistered visitors
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.AssertionError

    expected:<51> but was:<50>

    at org.junit.Assert.fail()
  2. JUnit
    Assert.assertEquals
    1. org.junit.Assert.fail(Assert.java:93)
    2. org.junit.Assert.failNotEquals(Assert.java:647)
    3. org.junit.Assert.assertEquals(Assert.java:128)
    4. org.junit.Assert.assertEquals(Assert.java:472)
    5. org.junit.Assert.assertEquals(Assert.java:456)
    5 frames
  3. Apache ServiceMix :: Bundles :: ${pkgArtifactId}
    SessionTest.testSequenceResetStackOverflow
    1. quickfix.SessionTest.testSequenceResetStackOverflow(SessionTest.java:1044)
    1 frame