From 8fcd7b45d09cf57400f4cee4fce76e00df33fbda Mon Sep 17 00:00:00 2001 From: Javier Gil Aviles Date: Mon, 16 Dec 2024 15:56:35 +0100 Subject: [PATCH] Refs #22321: Compose reliable for test Signed-off-by: Javier Gil Aviles --- test/examples/benchmark.compose.yml | 4 ++-- test/examples/test_benchmark.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/examples/benchmark.compose.yml b/test/examples/benchmark.compose.yml index 5b5fcda752..21dbdb3b57 100644 --- a/test/examples/benchmark.compose.yml +++ b/test/examples/benchmark.compose.yml @@ -27,7 +27,7 @@ services: EXAMPLE_DIR: @EXAMPLE_PREFIX_DIR_COMPOSE@/benchmark/@EXAMPLE_SUFFIX_DIR_COMPOSE@ FASTDDS_DEFAULT_PROFILES_FILE: @FASTDDS_DEFAULT_PROFILES_FILE_PREFIX_COMPOSE@/benchmark/benchmark_profile.xml SUBSCRIBER_ADDITIONAL_ARGUMENTS: ${SUB_ARGS} - command: @SHELL_EXECUTABLE@ -c "@COMMAND_EXAMPLE_DIR_PREFIX_COMPOSE@/benchmark@FILE_EXTENSION@ subscriber $${SUBSCRIBER_ADDITIONAL_ARGUMENTS}" + command: @SHELL_EXECUTABLE@ -c "@COMMAND_EXAMPLE_DIR_PREFIX_COMPOSE@/benchmark@FILE_EXTENSION@ subscriber --reliable --transient-local $${SUBSCRIBER_ADDITIONAL_ARGUMENTS}" publisher: image: @DOCKER_IMAGE_NAME@ @@ -43,4 +43,4 @@ services: EXAMPLE_DIR: @EXAMPLE_PREFIX_DIR_COMPOSE@/benchmark/@EXAMPLE_SUFFIX_DIR_COMPOSE@ FASTDDS_DEFAULT_PROFILES_FILE: @FASTDDS_DEFAULT_PROFILES_FILE_PREFIX_COMPOSE@/benchmark/benchmark_profile.xml PUBLISHER_ADDITIONAL_ARGUMENTS: ${PUB_ARGS} - command: @SHELL_EXECUTABLE@ -c "@COMMAND_EXAMPLE_DIR_PREFIX_COMPOSE@/benchmark@FILE_EXTENSION@ publisher $${PUBLISHER_ADDITIONAL_ARGUMENTS}" + command: @SHELL_EXECUTABLE@ -c "@COMMAND_EXAMPLE_DIR_PREFIX_COMPOSE@/benchmark@FILE_EXTENSION@ publisher --reliable --transient-local $${PUBLISHER_ADDITIONAL_ARGUMENTS}" diff --git a/test/examples/test_benchmark.py b/test/examples/test_benchmark.py index d50ba9e595..43f089f014 100644 --- a/test/examples/test_benchmark.py +++ b/test/examples/test_benchmark.py @@ -44,8 +44,8 @@ def test_benchmark(pub_args, sub_args): """.""" ret = False out = '' - pub_requirements = '--reliable --transient-local -s 1000' - sub_requirements = '--reliable --transient-local -s 1000' + pub_requirements = '-s 1000' + sub_requirements = '-s 1000' command_prerequisites = 'PUB_ARGS="' + pub_requirements + ' ' + pub_args + '" SUB_ARGS="' + sub_requirements + ' ' + sub_args + '" '