This is an automated email from the ASF dual-hosted git repository.
upthewaterspout pushed a commit to branch feature/GEODE-3687
in repository https://gitbox.apache.org/repos/asf/geode.git
The following commit(s) were added to refs/heads/feature/GEODE-3687 by this
push:
new d101f65 GatewayReceiverImplJUnitTest should assert the hostname
matches
d101f65 is described below
commit d101f6547de72a272826aa2a029b5bd526c77663
Author: Dan Smith <[email protected]>
AuthorDate: Wed Oct 4 16:15:08 2017 -0700
GatewayReceiverImplJUnitTest should assert the hostname matches
This test had a bad assertion about what getHost() should return
---
.../apache/geode/internal/cache/wan/GatewayReceiverImplJUnitTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/GatewayReceiverImplJUnitTest.java
b/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/GatewayReceiverImplJUnitTest.java
index e6a35e0..472ba27 100644
---
a/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/GatewayReceiverImplJUnitTest.java
+++
b/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/GatewayReceiverImplJUnitTest.java
@@ -39,7 +39,7 @@ public class GatewayReceiverImplJUnitTest {
InternalCache cache = mock(InternalCache.class);
GatewayReceiverImpl gateway =
new GatewayReceiverImpl(cache, 2000, 2001, 5, 100, null, null, null,
true);
- assertEquals(SocketCreator.getLocalHost().getHostAddress(),
gateway.getHost());
+ assertEquals(SocketCreator.getLocalHost().getHostName(),
gateway.getHost());
}
@Test
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].