Skip to content

Commit

Permalink
Fix transaction tests
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Carbonetto <[email protected]>
  • Loading branch information
acarbonetto committed Jun 27, 2024
1 parent ce6150c commit 884eda5
Showing 1 changed file with 22 additions and 30 deletions.
52 changes: 22 additions & 30 deletions java/integTest/src/test/java/glide/TransactionTestUtilities.java
Original file line number Diff line number Diff line change
Expand Up @@ -67,37 +67,29 @@ public interface TransactionBuilder extends Function<BaseTransaction<?>, Object[
/** Generate test samples for parametrized tests. Could be routed to random node. */
public static Stream<Arguments> getCommonTransactionBuilders() {
return Stream.of(
// Arguments.of(
// "Generic Commands", (TransactionBuilder)
// TransactionTestUtilities::genericCommands),
// Arguments.of(
// "String Commands", (TransactionBuilder)
// TransactionTestUtilities::stringCommands),
// Arguments.of("Hash Commands", (TransactionBuilder)
// TransactionTestUtilities::hashCommands),
// Arguments.of("List Commands", (TransactionBuilder)
// TransactionTestUtilities::listCommands),
// Arguments.of("Set Commands", (TransactionBuilder)
// TransactionTestUtilities::setCommands),
// Arguments.of(
// "Sorted Set Commands",
// (TransactionBuilder) TransactionTestUtilities::sortedSetCommands),
// Arguments.of(
// "HyperLogLog Commands",
// (TransactionBuilder)
// TransactionTestUtilities::hyperLogLogCommands),
Arguments.of(
"Stream Commands", (TransactionBuilder) TransactionTestUtilities::streamCommands));
// Arguments.of(
// "Connection Management Commands",
// (TransactionBuilder)
// TransactionTestUtilities::connectionManagementCommands),
// Arguments.of(
// "Geospatial Commands",
// (TransactionBuilder) TransactionTestUtilities::geospatialCommands),
// Arguments.of(
// "Bitmap Commands", (TransactionBuilder)
// TransactionTestUtilities::bitmapCommands));
"Generic Commands", (TransactionBuilder) TransactionTestUtilities::genericCommands),
Arguments.of(
"String Commands", (TransactionBuilder) TransactionTestUtilities::stringCommands),
Arguments.of("Hash Commands", (TransactionBuilder) TransactionTestUtilities::hashCommands),
Arguments.of("List Commands", (TransactionBuilder) TransactionTestUtilities::listCommands),
Arguments.of("Set Commands", (TransactionBuilder) TransactionTestUtilities::setCommands),
Arguments.of(
"Sorted Set Commands",
(TransactionBuilder) TransactionTestUtilities::sortedSetCommands),
Arguments.of(
"HyperLogLog Commands",
(TransactionBuilder) TransactionTestUtilities::hyperLogLogCommands),
Arguments.of(
"Stream Commands", (TransactionBuilder) TransactionTestUtilities::streamCommands),
Arguments.of(
"Connection Management Commands",
(TransactionBuilder) TransactionTestUtilities::connectionManagementCommands),
Arguments.of(
"Geospatial Commands",
(TransactionBuilder) TransactionTestUtilities::geospatialCommands),
Arguments.of(
"Bitmap Commands", (TransactionBuilder) TransactionTestUtilities::bitmapCommands));
}

/** Generate test samples for parametrized tests. Could be routed to primary nodes only. */
Expand Down

0 comments on commit 884eda5

Please sign in to comment.