junit.framework.AssertionFailedError

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

Solutions on the web2639

  • via commons-dev by Continuum@vmbuild.apache.org, 9 months ago
    WARNING: Expected half the threads to fail expected:<10> but was:<7>
  • via commons-dev by Continuum@vmbuild.apache.org, 9 months ago
    WARNING: Expected half the threads to fail expected:<10> but was:<7>
  • via commons-dev by Continuum@vmbuild.apache.org, 9 months ago
    WARNING: Expected half the threads to fail expected:<10> but was:<9>
  • Stack trace

    • junit.framework.AssertionFailedError: WARNING: Expected half the threads to fail expected:<10> but was:<7> at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.failNotEquals(Assert.java:280) at junit.framework.Assert.assertEquals(Assert.java:64) at junit.framework.Assert.assertEquals(Assert.java:198) at org.apache.commons.dbcp.TestConnectionPool.multipleThreads(TestConnectionPool.java:766) at org.apache.commons.dbcp.datasources.TestSharedPoolDataSource.testMultipleThreads2(TestSharedPoolDataSource.java:375)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    3 times, 3 months ago
    Unknown user
    Once, 4 months ago
    Unknown user
    Once, 10 months ago
    2 times, 10 months ago
    Unknown user
    Once, 1 year ago
    27 more bugmates