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
While packaging version 1.1.0 of http-nio in Debian, I got test failures related to ambiguous assertions:
/<>/src/test/java/org/broadinstitute/http/nio/RetryHandlerUnitTest.java:75: error: reference to assertEquals is ambiguous
Assert.assertEquals(DEFAULT_RETRY_HANDLER.runWithRetries(() -> 3), 3);
^
both method assertEquals(Object,Object) in Assert and method assertEquals(int,int) in Assert match
/<>/src/test/java/org/broadinstitute/http/nio/RetryHandlerUnitTest.java:103: error: reference to assertEquals is ambiguous
Assert.assertEquals(DEFAULT_RETRY_HANDLER.tryOnceThenWithRetries(
^
both method assertEquals(Object,Object) in Assert and method assertEquals(int,int) in Assert match
/<>/src/test/java/org/broadinstitute/http/nio/RetryHandlerUnitTest.java:113: error: reference to assertEquals is ambiguous
Assert.assertEquals(DEFAULT_RETRY_HANDLER.tryOnceThenWithRetries(
^
both method assertEquals(Object,Object) in Assert and method assertEquals(int,int) in Assert match
/<>/src/test/java/org/broadinstitute/http/nio/RetryHandlerUnitTest.java:147: error: reference to assertEquals is ambiguous
Assert.assertEquals(DEFAULT_RETRY_HANDLER.tryOnceThenWithRetries(
^
both method assertEquals(Object,Object) in Assert and method assertEquals(int,int) in Assert match
/<>/src/test/java/org/broadinstitute/http/nio/RetryHandlerUnitTest.java:176: error: reference to assertEquals is ambiguous
Assert.assertEquals(NO_RETRIES_HANDLER.runWithRetries(() -> 3), 3);
^
both method assertEquals(Object,Object) in Assert and method assertEquals(int,int) in Assert match
Hello,
While packaging version 1.1.0 of http-nio in Debian, I got test failures related to ambiguous assertions:
/<>/src/test/java/org/broadinstitute/http/nio/RetryHandlerUnitTest.java:75: error: reference to assertEquals is ambiguous
Assert.assertEquals(DEFAULT_RETRY_HANDLER.runWithRetries(() -> 3), 3);
^
both method assertEquals(Object,Object) in Assert and method assertEquals(int,int) in Assert match
/<>/src/test/java/org/broadinstitute/http/nio/RetryHandlerUnitTest.java:103: error: reference to assertEquals is ambiguous
Assert.assertEquals(DEFAULT_RETRY_HANDLER.tryOnceThenWithRetries(
^
both method assertEquals(Object,Object) in Assert and method assertEquals(int,int) in Assert match
/<>/src/test/java/org/broadinstitute/http/nio/RetryHandlerUnitTest.java:113: error: reference to assertEquals is ambiguous
Assert.assertEquals(DEFAULT_RETRY_HANDLER.tryOnceThenWithRetries(
^
both method assertEquals(Object,Object) in Assert and method assertEquals(int,int) in Assert match
/<>/src/test/java/org/broadinstitute/http/nio/RetryHandlerUnitTest.java:147: error: reference to assertEquals is ambiguous
Assert.assertEquals(DEFAULT_RETRY_HANDLER.tryOnceThenWithRetries(
^
both method assertEquals(Object,Object) in Assert and method assertEquals(int,int) in Assert match
/<>/src/test/java/org/broadinstitute/http/nio/RetryHandlerUnitTest.java:176: error: reference to assertEquals is ambiguous
Assert.assertEquals(NO_RETRIES_HANDLER.runWithRetries(() -> 3), 3);
^
both method assertEquals(Object,Object) in Assert and method assertEquals(int,int) in Assert match
The enclosed patch fixes this.
Best,
Pierre
ambiguous_assertions.txt
The text was updated successfully, but these errors were encountered: