This is an automated email from the ASF dual-hosted git repository.
kenhuuu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git
The following commit(s) were added to refs/heads/master by this push:
new 1ae905ac18 Fix incorrect assert in GremlinServerSslIntegrateTest CTR.
1ae905ac18 is described below
commit 1ae905ac1815a48cccff53138115c41ec9aa0116
Author: Ken Hu <[email protected]>
AuthorDate: Tue Jul 7 10:27:42 2026 -0700
Fix incorrect assert in GremlinServerSslIntegrateTest CTR.
This was missed from an earlier commit
37914a46c4e877fe9bcb1d7131ca25a4b1d0a8ed
---
.../apache/tinkerpop/gremlin/server/GremlinServerSslIntegrateTest.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/gremlin-server/src/test/java/org/apache/tinkerpop/gremlin/server/GremlinServerSslIntegrateTest.java
b/gremlin-server/src/test/java/org/apache/tinkerpop/gremlin/server/GremlinServerSslIntegrateTest.java
index 076d42f6e1..a8ae0b860f 100644
---
a/gremlin-server/src/test/java/org/apache/tinkerpop/gremlin/server/GremlinServerSslIntegrateTest.java
+++
b/gremlin-server/src/test/java/org/apache/tinkerpop/gremlin/server/GremlinServerSslIntegrateTest.java
@@ -33,6 +33,7 @@ import
org.apache.tinkerpop.gremlin.util.message.RequestMessage;
import org.junit.Test;
import javax.net.ssl.SSLException;
+import java.io.IOException;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
@@ -217,7 +218,7 @@ public class GremlinServerSslIntegrateTest extends
AbstractGremlinServerIntegrat
fail("Should throw exception because ssl is enabled on the server
but not on client");
} catch(Exception x) {
final Throwable root = ExceptionHelper.getRootCause(x);
- assertThat(root, instanceOf(RuntimeException.class));
+ assertThat(root, instanceOf(IOException.class));
assertThat(root.getMessage(), containsString("The server may be
expecting SSL to be enabled"));
} finally {
cluster.close();