You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I consistently get this test failure on master build.
Java version:
$ java -version
java version "1.8.0_162"
Java(TM) SE Runtime Environment (build 1.8.0_162-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.162-b12, mixed mode)
Test failure:
testCancelledMismatchFormatting(com.spotify.hamcrest.future.ExceptionallyCompletedBlockingFutureTest) Time elapsed: 0.003 sec <<< FAILURE!
java.lang.AssertionError:
Expected: is "a future that was cancelled"
but: was "a future that was interrupted"
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:18)
at org.junit.Assert.assertThat(Assert.java:956)
at org.junit.Assert.assertThat(Assert.java:923)
at com.spotify.hamcrest.future.ExceptionallyCompletedBlockingFutureTest.testCancelledMismatchFormatting(ExceptionallyCompletedBlockingFutureTest.java:100)
The text was updated successfully, but these errors were encountered:
Though that PR doesn't really address the root issue...
If I add assertFalse(Thread.currentThread().isInterrupted()); as the first line of each test, it fails on that itself.
Thus, I think it's a case of test interference since it depends on the interrupted state being unset.
I consistently get this test failure on master build.
Java version:
Test failure:
The text was updated successfully, but these errors were encountered: