From 98985126a599bb1a8697b7d980b6bbd9dc09b33d Mon Sep 17 00:00:00 2001 From: HÃ¥vard Pettersen Date: Wed, 4 Jan 2023 14:58:42 +0000 Subject: remove xor crypto engine from Java --- jrt/tests/com/yahoo/jrt/EchoTest.java | 4 ---- jrt/tests/com/yahoo/jrt/LatencyTest.java | 8 -------- 2 files changed, 12 deletions(-) (limited to 'jrt/tests/com') diff --git a/jrt/tests/com/yahoo/jrt/EchoTest.java b/jrt/tests/com/yahoo/jrt/EchoTest.java index 11742fa42e2..47169210f00 100644 --- a/jrt/tests/com/yahoo/jrt/EchoTest.java +++ b/jrt/tests/com/yahoo/jrt/EchoTest.java @@ -53,10 +53,6 @@ public class EchoTest { assertEquals(1, metrics.clientUnencryptedConnectionsEstablished()); }, null}, - { - new XorCryptoEngine(), - null, - null}, { new TlsCryptoEngine(createTestTlsContext()), (MetricsAssertions) metrics -> { diff --git a/jrt/tests/com/yahoo/jrt/LatencyTest.java b/jrt/tests/com/yahoo/jrt/LatencyTest.java index 945833e51a8..f36dc0c5ba9 100644 --- a/jrt/tests/com/yahoo/jrt/LatencyTest.java +++ b/jrt/tests/com/yahoo/jrt/LatencyTest.java @@ -175,14 +175,6 @@ public class LatencyTest { } } - @org.junit.Test - public void testXorCryptoLatency() throws Throwable { - try (Network network = new Network(new XorCryptoEngine(), 1)) { - new Client(false, network, 1).measureLatency("[xor crypto, no reconnect] "); - new Client(true, network, 1).measureLatency("[xor crypto, reconnect] "); - } - } - @org.junit.Test public void testTlsCryptoLatency() throws Throwable { try (Network network = new Network(new TlsCryptoEngine(createTestTlsContext()), 1)) { -- cgit v1.2.3