Skip to content

Commit

Permalink
Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
Browse files Browse the repository at this point in the history
  • Loading branch information
Yury-Fridlyand committed Aug 12, 2024
1 parent 10537df commit 51ea7fc
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions java/integTest/src/test/java/glide/PubSubTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ private BaseClient createListener(

/** Similar to `test_pubsub_exact_happy_path` in python client tests. */
@SneakyThrows
@ParameterizedTest(name = "standalone = {0}, read messages via {1}")
@ParameterizedTest(name = "exact happy path standalone = {0}, read messages via {1}")
@MethodSource("getTestScenarios")
public void exact_happy_path(boolean standalone, MessageReadMethod method) {
GlideString channel = gs(UUID.randomUUID().toString());
Expand All @@ -238,7 +238,7 @@ public void exact_happy_path(boolean standalone, MessageReadMethod method) {

/** Similar to `test_pubsub_exact_happy_path_many_channels` in python client tests. */
@SneakyThrows
@ParameterizedTest(name = "standalone = {0}, read messages via {1}")
@ParameterizedTest(name = "exact happy path many channels standalone = {0}, read messages via {1}")
@MethodSource("getTestScenarios")
public void exact_happy_path_many_channels(boolean standalone, MessageReadMethod method) {
int numChannels = 256;
Expand Down Expand Up @@ -334,7 +334,7 @@ public void sharded_pubsub_many_channels(MessageReadMethod method) {

/** Similar to `test_pubsub_pattern` in python client tests. */
@SneakyThrows
@ParameterizedTest(name = "standalone = {0}, read messages via {1}")
@ParameterizedTest(name = "pattern standalone = {0}, read messages via {1}")
@MethodSource("getTestScenarios")
public void pattern(boolean standalone, MessageReadMethod method) {
String prefix = "channel.";
Expand Down Expand Up @@ -373,7 +373,7 @@ public void pattern(boolean standalone, MessageReadMethod method) {

/** Similar to `test_pubsub_pattern_many_channels` in python client tests. */
@SneakyThrows
@ParameterizedTest(name = "standalone = {0}, read messages via {1}")
@ParameterizedTest(name = "pattern many channels standalone = {0}, read messages via {1}")
@MethodSource("getTestScenarios")
public void pattern_many_channels(boolean standalone, MessageReadMethod method) {
String prefix = "channel.";
Expand Down Expand Up @@ -411,7 +411,7 @@ public void pattern_many_channels(boolean standalone, MessageReadMethod method)

/** Similar to `test_pubsub_combined_exact_and_pattern_one_client` in python client tests. */
@SneakyThrows
@ParameterizedTest(name = "standalone = {0}, read messages via {1}")
@ParameterizedTest(name = "combined exact and pattern one client standalone = {0}, read messages via {1}")
@MethodSource("getTestScenarios")
public void combined_exact_and_pattern_one_client(boolean standalone, MessageReadMethod method) {
String prefix = "channel.";
Expand Down Expand Up @@ -461,7 +461,7 @@ public void combined_exact_and_pattern_one_client(boolean standalone, MessageRea
* Similar to `test_pubsub_combined_exact_and_pattern_multiple_clients` in python client tests.
*/
@SneakyThrows
@ParameterizedTest(name = "standalone = {0}, read messages via {1}")
@ParameterizedTest(name = "combined exact and pattern multiple clients standalone = {0}, read messages via {1}")
@MethodSource("getTestScenarios")
public void combined_exact_and_pattern_multiple_clients(
boolean standalone, MessageReadMethod method) {
Expand Down Expand Up @@ -895,7 +895,7 @@ public void error_cases() {
}

@SneakyThrows
@ParameterizedTest(name = "standalone = {0}, read messages via {1}")
@ParameterizedTest(name = "with all types of messages standalone = {0}, read messages via {1}")
@MethodSource("getTestScenarios")
public void transaction_with_all_types_of_messages(boolean standalone, MessageReadMethod method) {
assumeTrue(SERVER_VERSION.isGreaterThanOrEqualTo("7.0.0"), "This feature added in version 7");
Expand Down Expand Up @@ -954,7 +954,7 @@ public void transaction_with_all_types_of_messages(boolean standalone, MessageRe
}

@SneakyThrows
@ParameterizedTest(name = "standalone = {0}")
@ParameterizedTest(name = "exact max size message standalone = {0}")
@ValueSource(booleans = {true, false})
public void pubsub_exact_max_size_message(boolean standalone) {
final GlideString channel = gs(UUID.randomUUID().toString());
Expand Down Expand Up @@ -992,7 +992,7 @@ public void pubsub_exact_max_size_message(boolean standalone) {
}

@SneakyThrows
@ParameterizedTest(name = "standalone = {0}")
@ParameterizedTest(name = "sharded max size message standalone = {0}")
@ValueSource(booleans = {false})
public void pubsub_sharded_max_size_message(boolean standalone) {
assumeTrue(SERVER_VERSION.isGreaterThanOrEqualTo("7.0.0"), "This feature added in version 7");
Expand Down Expand Up @@ -1035,7 +1035,7 @@ public void pubsub_sharded_max_size_message(boolean standalone) {

@SuppressWarnings("unchecked")
@SneakyThrows
@ParameterizedTest(name = "standalone = {0}")
@ParameterizedTest(name = "exact max size message callback standalone = {0}")
@ValueSource(booleans = {true, false})
public void pubsub_exact_max_size_message_callback(boolean standalone) {
final GlideString channel = gs(UUID.randomUUID().toString());
Expand Down Expand Up @@ -1075,7 +1075,7 @@ public void pubsub_exact_max_size_message_callback(boolean standalone) {

@SuppressWarnings("unchecked")
@SneakyThrows
@ParameterizedTest(name = "standalone = {0}")
@ParameterizedTest(name = "sharded max size message callback standalone = {0}")
@ValueSource(booleans = {false})
public void pubsub_sharded_max_size_message_callback(boolean standalone) {
assumeTrue(SERVER_VERSION.isGreaterThanOrEqualTo("7.0.0"), "This feature added in version 7");
Expand Down Expand Up @@ -1114,7 +1114,7 @@ public void pubsub_sharded_max_size_message_callback(boolean standalone) {
/** Test the behavior if the callback supplied to a subscription throws an uncaught exception. */
@SuppressWarnings("unchecked")
@SneakyThrows
@ParameterizedTest(name = "standalone = {0}")
@ParameterizedTest(name = "callback exception standalone = {0}")
@ValueSource(booleans = {true, false})
public void pubsub_test_callback_exception(boolean standalone) {
final GlideString channel = gs(UUID.randomUUID().toString());
Expand Down Expand Up @@ -1172,7 +1172,7 @@ public void pubsub_test_callback_exception(boolean standalone) {

@SuppressWarnings("unchecked")
@SneakyThrows
@ParameterizedTest(name = "standalone = {0}")
@ParameterizedTest(name = "binary standalone = {0}")
@ValueSource(booleans = {true, false})
public void pubsub_with_binary(boolean standalone) {
assumeTrue(SERVER_VERSION.isGreaterThanOrEqualTo("7.0.0"), "This feature added in version 7");
Expand Down

0 comments on commit 51ea7fc

Please sign in to comment.