我正在尝试验证我的okhttp库的构建。 运行&mvn -X clean verify'在最近的主分支下载。 我收到以下错误:
[matthias@oc0105085538 surefire-reports]$ more okhttp3.ConnectionCoalescingTest.txt
-------------------------------------------------------------------------------
Test set: okhttp3.ConnectionCoalescingTest
-------------------------------------------------------------------------------
Tests run: 12, Failures: 1, Errors: 0, Skipped: 1, Time elapsed: 5.237 sec <<< FAILURE! - in okhttp3.ConnectionCoalescingTest
prefersExistingCompatible(okhttp3.ConnectionCoalescingTest) Time elapsed: 0.598 sec <<< FAILURE!
java.lang.AssertionError: expected:<3> but was:<2>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:645)
at org.junit.Assert.assertEquals(Assert.java:631)
at okhttp3.ConnectionCoalescingTest.prefersExistingCompatible(ConnectionCoalescingTest.java:256)
答案 0 :(得分:0)
确定这已在okhttp 3.9.0中修复 谢谢大家的帮助。