From 51ea7fcc114a09caeb38bf56bfc1e4bdcb9d4e52 Mon Sep 17 00:00:00 2001 From: Yury-Fridlyand Date: Mon, 12 Aug 2024 10:40:45 -0700 Subject: [PATCH] Signed-off-by: Yury-Fridlyand --- .../src/test/java/glide/PubSubTests.java | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/java/integTest/src/test/java/glide/PubSubTests.java b/java/integTest/src/test/java/glide/PubSubTests.java index faa9fd7cf1..19478e5d37 100644 --- a/java/integTest/src/test/java/glide/PubSubTests.java +++ b/java/integTest/src/test/java/glide/PubSubTests.java @@ -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()); @@ -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; @@ -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."; @@ -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."; @@ -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."; @@ -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) { @@ -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"); @@ -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()); @@ -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"); @@ -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()); @@ -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"); @@ -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()); @@ -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");