junit.framework.AssertionFailedError: WARNING: Expected half the threads to fail expected:<10> but was:<7>

commons-dev | Continuum@vmbuild.apache.org | 7 years ago
  1. 0

    [continuum] BUILD FAILURE: Commons - Commons DBCP -

    commons-dev | 7 years ago | Continuum@vmbuild.apache.org
    junit.framework.AssertionFailedError: WARNING: Expected half the threads to fail expected:<10> but was:<7>
  2. 0

    [continuum] BUILD FAILURE: Commons - Commons DBCP -

    commons-dev | 7 years ago | Continuum@vmbuild.apache.org
    junit.framework.AssertionFailedError: Expected half the threads to fail expected:<10> but was:<7>
  3. 0

    [continuum] BUILD FAILURE: Commons - Commons DBCP -

    commons-dev | 7 years ago | Continuum@vmbuild.apache.org
    junit.framework.AssertionFailedError: WARNING: Expected half the threads to fail expected:<10> but was:<9>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [continuum] BUILD FAILURE: Commons - Commons DBCP - Java 5 Ant build

    commons-dev | 7 years ago | Continuum@vmbuild.apache.org
    junit.framework.AssertionFailedError: WARNING: Expected half the threads to fail expected:<10> but was:<7>
  6. 0

    Socket exception when running testng in Eclipse

    Google Groups | 5 years ago | mike
    junit.framework.AssertionFailedError: Data=1 expected:<4> but was:<1>

  1. tzrlk 2 times, last 3 months ago
7 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. junit.framework.AssertionFailedError

    WARNING: Expected half the threads to fail expected:<10> but was:<7>

    at junit.framework.Assert.fail()
  2. JUnit
    Assert.assertEquals
    1. junit.framework.Assert.fail(Assert.java:47)
    2. junit.framework.Assert.failNotEquals(Assert.java:280)
    3. junit.framework.Assert.assertEquals(Assert.java:64)
    4. junit.framework.Assert.assertEquals(Assert.java:198)
    4 frames
  3. Commons DBCP
    TestPerUserPoolDataSource.testMultipleThreads2
    1. org.apache.commons.dbcp.TestConnectionPool.multipleThreads(TestConnectionPool.java:760)
    2. org.apache.commons.dbcp.datasources.TestPerUserPoolDataSource.testMultipleThreads2(TestPerUserPoolDataSource.java:385)
    2 frames