Skip to content

Commit

Permalink
Disable ALPN tests until server-side supports it
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Scheel <[email protected]>
  • Loading branch information
cipherboy committed Oct 6, 2020
1 parent 2b9b4e4 commit 6eaa12f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions org/mozilla/jss/tests/TestSSLEngine.java
Original file line number Diff line number Diff line change
Expand Up @@ -1002,7 +1002,8 @@ public static void testALPNHandshake(SSLContext ctx, String server_alias) throws

try {
testBasicHandshake(client_eng, server_eng, false);
assert(server_eng.getApplicationProtocol().equals("h2"));
assert client_eng.getApplicationProtocol().equals("h2");
assert server_eng.getApplicationProtocol().equals("h2");
} catch (Exception e) {
client_eng.cleanup();
server_eng.cleanup();
Expand Down Expand Up @@ -1033,7 +1034,9 @@ public static void testNativeClientServer(String[] args) throws Exception {
testAllHandshakes(ctx, client_alias, server_alias, true);
testPostHandshakeAuth(ctx, client_alias, server_alias);
testJSSEToJSSHandshakes(ctx, server_alias);
testALPNHandshake(ctx, server_alias);

// TODO: Enable once server-side ALPN support is merged.
// testALPNHandshake(ctx, server_alias);
}

public static void testALPNEncoding() throws Exception {
Expand Down

0 comments on commit 6eaa12f

Please sign in to comment.