Skip to content

Commit

Permalink
Update PeerServiceResolverTest.java
Browse files Browse the repository at this point in the history
  • Loading branch information
mmorel-35 authored Oct 12, 2023
1 parent 4e90b37 commit c0cfe8b
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,10 @@ void test() {
assertEquals("myService", peerServiceResolver.resolveService("example.com", 8080, () -> "/"));
assertEquals(
"someOtherService8080", peerServiceResolver.resolveService("1.2.3.4", 8080, () -> "/api"));
assertEquals("someOtherService", peerServiceResolver.resolveService("1.2.3.4", 9000, () -> "/api"));
assertEquals("someOtherService", peerServiceResolver.resolveService("1.2.3.4", 8080, ()-> null));
assertEquals(
"someOtherService", peerServiceResolver.resolveService("1.2.3.4", 9000, () -> "/api"));
assertEquals(
"someOtherService", peerServiceResolver.resolveService("1.2.3.4", 8080, () -> null));
assertEquals(
"someOtherServiceAPI", peerServiceResolver.resolveService("1.2.3.4", null, () -> "/api"));
}
Expand Down

0 comments on commit c0cfe8b

Please sign in to comment.