java.lang.AssertionError: expected:<3> but was:<4>

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

    [QFJ-838] Tests on jdk 1.7 failed - QuickFIX/J Jira

    quickfixj.org | 1 year ago
    java.lang.AssertionError: expected:<3> but was:<4>
  2. 0

    QuickFIX/J Jira

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

    QuickFIX/J Jira

    quickfixj.org | 1 year ago
    java.lang.AssertionError: expected:<3> but was:<4>
  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:<3> but was:<4>
  6. 0

    Tests passed on jdk 1.6. On jdk 1.7 they failed ------------------------------------------------------------------------------- Test set: quickfix.SessionTest ------------------------------------------------------------------------------- Tests run: 47, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 1.197 sec <<< FAILURE! - in quickfix.SessionTest testResendRequestMsgSeqNum(quickfix.SessionTest) Time elapsed: 0.006 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) testAcceptorRelogon(quickfix.SessionTest) Time elapsed: 0.002 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) testLogoutMsgSeqNumTooHighOrLow(quickfix.SessionTest) Time elapsed: 0.001 sec <<< FAILURE! java.lang.AssertionError: expected:<3> but was:<4> 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.testLogoutMsgSeqNumTooHighOrLow(SessionTest.java:418)

    QuickFIX/J JIRA | 2 years ago | Slawomir Pawlewicz
    java.lang.AssertionError: expected:<3> but was:<4>

  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:<3> but was:<4>

    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.testLogoutMsgSeqNumTooHighOrLow
    1. quickfix.SessionTest.testLogoutMsgSeqNumTooHighOrLow(SessionTest.java:418)
    1 frame