From a93427cfa279fdb050e843e53df8adcb423801bf Mon Sep 17 00:00:00 2001 From: stroomdev66 Date: Thu, 9 Jan 2025 17:12:21 +0000 Subject: [PATCH] #4682 PlanB State Store --- .../test/java/stroom/planb/impl/experiment/TestState2.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stroom-state/stroom-planb-impl/src/test/java/stroom/planb/impl/experiment/TestState2.java b/stroom-state/stroom-planb-impl/src/test/java/stroom/planb/impl/experiment/TestState2.java index 7556ab01b6..d778eadaac 100644 --- a/stroom-state/stroom-planb-impl/src/test/java/stroom/planb/impl/experiment/TestState2.java +++ b/stroom-state/stroom-planb-impl/src/test/java/stroom/planb/impl/experiment/TestState2.java @@ -54,7 +54,7 @@ class TestState2 { // final ByteBuffer byteBuffer = ByteBuffer.wrap(("test" + i).getBytes(StandardCharsets.UTF_8)); // return StateValue.builder().typeId(StringValue.TYPE_ID).byteBuffer(byteBuffer).build(); // }; -// test(tempDir, 100, keyFunction, valueFunction); +// testReadWrite(tempDir, 100, keyFunction, valueFunction); // } @Test @@ -77,7 +77,7 @@ void testWritePerformanceMultiKey(@TempDir Path tempDir) { testWrite(tempDir, 10000000, keyFunction, valueFunction); } - private void test(final Path tempDir, + private void testReadWrite(final Path tempDir, final int insertRows, final Function keyFunction, final Function valueFunction) {