HttpUrlFetcherServerTest > testHandlesUpToFiveRedirects is flaky
- Dominant language
- Java
- Stars
- 35k
- Forks
- 6.2k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 8
Description
com.bumptech.glide.load.data.HttpUrlFetcherServerTest > testHandlesUpToFiveRedirects FAILED
org.mockito.exceptions.verification.WantedButNotInvoked at HttpUrlFetcherServerTest.java:133
1335 tests completed, 1 failed
:library:testDebugUnitTest FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':library:testDebugUnitTest'.
> There were failing tests. See the report at: file:///home/travis/build/bumptech/glide/library/build/reports/tests/testDebugUnitTest/index.html
Contributor guide
Research direction
Start with HttpUrlFetcherServerTest.java, especially testHandlesUpToFiveRedirects and the verification at line 133. Run :library:testDebugUnitTest to reproduce the failure and inspect the test report. Done means the redirect test passes reliably without intermittent Mockito verification failures.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100