Skip to content

Commit

Permalink
Refs #20650: Apply rev suggestions and fix test
Browse files Browse the repository at this point in the history
Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>
  • Loading branch information
JesusPoderoso committed Jun 12, 2024
1 parent d387880 commit 5669527
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/cpp/delivery_mechanisms/PubSubApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ PubSubApp::PubSubApp(

switch (config.delivery_mechanism)
{
case CLIParser::DeliveryMechanismKind::INTRA_PROCESS: // (It should never reach this section
case CLIParser::DeliveryMechanismKind::INTRA_PROCESS:
{
// No transport needed, but at least a transport needs to be declared to avoid participant creation failure
pqos.transport().use_builtin_transports = true;
Expand Down
4 changes: 2 additions & 2 deletions test/examples/test_delivery_mechanisms.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@ def test_delivery_mechanisms_timeout(pub_args, sub_args):
print (e.output)
except subprocess.TimeoutExpired:
ret = True
subprocess.check_output('@DOCKER_EXECUTABLE@ compose -f configuration.compose.yml down',
subprocess.check_output('@DOCKER_EXECUTABLE@ compose -f delivery_mechanisms.compose.yml down',
stderr=subprocess.STDOUT,
shell=True,
timeout=30
timeout=15
)

assert(ret)

0 comments on commit 5669527

Please sign in to comment.