junit.framework.AssertionFailedError

Expected multiple threads to fail with timeout=2*maxWait

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2557

  • via commons-dev by sebb, 9 months ago
    Expected multiple threads to fail with timeout=2*maxWait
  • via commons-dev by Continuum@vmbuild.apache.org, 9 months ago
    Expected some of the threads to fail
  • 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: Expected multiple threads to fail with timeout=2*maxWait at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.assertTrue(Assert.java:20) at org.apache.commons.dbcp.datasources.TestPerUserPoolDataSource.testMultipleThreads2(TestPerUserPoolDataSource.java:385)

    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

    2 times, 9 months ago
    Unknown user
    Once, 1 year ago
    5 times, 1 year ago
    Once, 1 month ago
    2 times, 1 month ago
    27 more bugmates