We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed33f23 commit 1960273Copy full SHA for 1960273
1 file changed
gax-java/gax/src/test/java/com/google/api/gax/rpc/EndpointContextTest.java
@@ -641,17 +641,15 @@ void endpointContextBuild_resolvesServerAddress() throws IOException {
641
642
@Test
643
void endpointContextBuild_resolvesPort() throws IOException {
644
-
645
String endpoint = "http://localhost:7469";
646
647
EndpointContext endpointContext =
648
defaultEndpointContextBuilder
649
.setClientSettingsEndpoint(endpoint)
650
.setTransportChannelProviderEndpoint(null)
651
.build();
652
Truth.assertThat(endpointContext.resolvedServerPort()).isEqualTo(7469);
653
654
- endpoint = "localhost:-1";
+ endpoint = "localhost:7469";
655
endpointContext =
656
657
0 commit comments