You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by je...@apache.org on 2018/03/30 16:04:58 UTC

[geode] branch develop updated: GEODE-3720: Add additional output pattern to failure assertion for ConnectCommandWithSSLTest (#1704)

This is an automated email from the ASF dual-hosted git repository.

jensdeppe pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/develop by this push:
     new 7b347af  GEODE-3720: Add additional output pattern to failure assertion for ConnectCommandWithSSLTest (#1704)
7b347af is described below

commit 7b347afef4c100eae036595eb57c0967dac41efb
Author: Jens Deppe <jd...@pivotal.io>
AuthorDate: Fri Mar 30 09:04:54 2018 -0700

    GEODE-3720: Add additional output pattern to failure assertion for ConnectCommandWithSSLTest (#1704)
---
 .../management/internal/cli/commands/ConnectCommandWithSSLTest.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/geode-web/src/test/java/org/apache/geode/management/internal/cli/commands/ConnectCommandWithSSLTest.java b/geode-web/src/test/java/org/apache/geode/management/internal/cli/commands/ConnectCommandWithSSLTest.java
index 0a33cfe..5efe22d 100644
--- a/geode-web/src/test/java/org/apache/geode/management/internal/cli/commands/ConnectCommandWithSSLTest.java
+++ b/geode-web/src/test/java/org/apache/geode/management/internal/cli/commands/ConnectCommandWithSSLTest.java
@@ -183,8 +183,8 @@ public class ConnectCommandWithSSLTest {
     assertThat(gfsh.isConnected()).isFalse();
     // should fail at connecting to locator stage
     assertThat(gfsh.getGfshOutput()).doesNotContain("Connecting to Manager at");
-    assertThat(gfsh.getGfshOutput())
-        .contains("trying to connect a non-SSL-enabled client to an SSL-enabled locator");
+    assertThat(gfsh.getGfshOutput()).containsPattern(
+        "trying to connect a non-SSL-enabled client to an SSL-enabled locator|Broken pipe \\(Write failed\\)");
 
     gfsh.connect(locator.getJmxPort(), GfshCommandRule.PortType.jmxManager);
     assertThat(gfsh.isConnected()).isFalse();

-- 
To stop receiving notification emails like this one, please contact
jensdeppe@apache.org.