Skip to content

Commit

Permalink
#4682 PlanB State Store
Browse files Browse the repository at this point in the history
  • Loading branch information
stroomdev66 committed Jan 9, 2025
1 parent b9f15aa commit a93427c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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<Integer, Key> keyFunction,
final Function<Integer, StateValue> valueFunction) {
Expand Down

0 comments on commit a93427c

Please sign in to comment.