Skip to content

Commit 884eda5

Browse files
committed
Fix transaction tests
Signed-off-by: Andrew Carbonetto <[email protected]>
1 parent ce6150c commit 884eda5

File tree

1 file changed

+22
-30
lines changed

1 file changed

+22
-30
lines changed

java/integTest/src/test/java/glide/TransactionTestUtilities.java

Lines changed: 22 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -67,37 +67,29 @@ public interface TransactionBuilder extends Function<BaseTransaction<?>, Object[
6767
/** Generate test samples for parametrized tests. Could be routed to random node. */
6868
public static Stream<Arguments> getCommonTransactionBuilders() {
6969
return Stream.of(
70-
// Arguments.of(
71-
// "Generic Commands", (TransactionBuilder)
72-
// TransactionTestUtilities::genericCommands),
73-
// Arguments.of(
74-
// "String Commands", (TransactionBuilder)
75-
// TransactionTestUtilities::stringCommands),
76-
// Arguments.of("Hash Commands", (TransactionBuilder)
77-
// TransactionTestUtilities::hashCommands),
78-
// Arguments.of("List Commands", (TransactionBuilder)
79-
// TransactionTestUtilities::listCommands),
80-
// Arguments.of("Set Commands", (TransactionBuilder)
81-
// TransactionTestUtilities::setCommands),
82-
// Arguments.of(
83-
// "Sorted Set Commands",
84-
// (TransactionBuilder) TransactionTestUtilities::sortedSetCommands),
85-
// Arguments.of(
86-
// "HyperLogLog Commands",
87-
// (TransactionBuilder)
88-
// TransactionTestUtilities::hyperLogLogCommands),
8970
Arguments.of(
90-
"Stream Commands", (TransactionBuilder) TransactionTestUtilities::streamCommands));
91-
// Arguments.of(
92-
// "Connection Management Commands",
93-
// (TransactionBuilder)
94-
// TransactionTestUtilities::connectionManagementCommands),
95-
// Arguments.of(
96-
// "Geospatial Commands",
97-
// (TransactionBuilder) TransactionTestUtilities::geospatialCommands),
98-
// Arguments.of(
99-
// "Bitmap Commands", (TransactionBuilder)
100-
// TransactionTestUtilities::bitmapCommands));
71+
"Generic Commands", (TransactionBuilder) TransactionTestUtilities::genericCommands),
72+
Arguments.of(
73+
"String Commands", (TransactionBuilder) TransactionTestUtilities::stringCommands),
74+
Arguments.of("Hash Commands", (TransactionBuilder) TransactionTestUtilities::hashCommands),
75+
Arguments.of("List Commands", (TransactionBuilder) TransactionTestUtilities::listCommands),
76+
Arguments.of("Set Commands", (TransactionBuilder) TransactionTestUtilities::setCommands),
77+
Arguments.of(
78+
"Sorted Set Commands",
79+
(TransactionBuilder) TransactionTestUtilities::sortedSetCommands),
80+
Arguments.of(
81+
"HyperLogLog Commands",
82+
(TransactionBuilder) TransactionTestUtilities::hyperLogLogCommands),
83+
Arguments.of(
84+
"Stream Commands", (TransactionBuilder) TransactionTestUtilities::streamCommands),
85+
Arguments.of(
86+
"Connection Management Commands",
87+
(TransactionBuilder) TransactionTestUtilities::connectionManagementCommands),
88+
Arguments.of(
89+
"Geospatial Commands",
90+
(TransactionBuilder) TransactionTestUtilities::geospatialCommands),
91+
Arguments.of(
92+
"Bitmap Commands", (TransactionBuilder) TransactionTestUtilities::bitmapCommands));
10193
}
10294

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

0 commit comments

Comments
 (0)