Skip to content

Commit

Permalink
Refs #21188: Remove compose name from clients to cope with different …
Browse files Browse the repository at this point in the history
…docker compose versions

Signed-off-by: eduponz <[email protected]>
  • Loading branch information
eduponz committed Jul 12, 2024
1 parent 0002ccb commit b32b2b6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions test/examples/test_request_reply.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ def parse_response(client_responses: dict, response: str):
def test_request_reply():
"""."""
expected_responses = {
'request_reply-server-client-1': {
'server-client-1': {
'1': 7,
'2': -3,
'3': 10,
'4': 0
},
'request_reply-client-1': {
'client-1': {
'1': 91,
'2': 43,
'3': 1608,
Expand All @@ -50,8 +50,8 @@ def test_request_reply():
}

responses = {
'request_reply-server-client-1': {},
'request_reply-client-1': {},
'server-client-1': {},
'client-1': {},
}

ret = True
Expand Down
16 changes: 8 additions & 8 deletions test/examples/test_request_reply_isolated.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,25 +35,25 @@ def parse_response(client_responses: dict, response: str):
def test_request_reply_isolated():
"""."""
expected_responses = {
'request_reply_isolated-client-1-1': {
'client-1-1': {
'1': 7,
'2': -3,
'3': 10,
'4': 0
},
'request_reply_isolated-client-2-1': {
'client-2-1': {
'1': 91,
'2': 43,
'3': 1608,
'4': 2
},
'request_reply_isolated-client-3-1': {
'client-3-1': {
'1': 5,
'2': 1,
'3': 6,
'4': 1
},
'request_reply_isolated-client-4-1': {
'client-4-1': {
'1': 25,
'2': 15,
'3': 100,
Expand All @@ -62,10 +62,10 @@ def test_request_reply_isolated():
}

responses = {
'request_reply_isolated-client-1-1': {},
'request_reply_isolated-client-2-1': {},
'request_reply_isolated-client-3-1': {},
'request_reply_isolated-client-4-1': {}
'client-1-1': {},
'client-2-1': {},
'client-3-1': {},
'client-4-1': {}
}

ret = True
Expand Down

0 comments on commit b32b2b6

Please sign in to comment.