Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions tests/integration/local/execution/test_execution.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,8 @@ def test_execution_stop_already_completed(self):
# Try to stop already completed execution
stop_command = [self.cmd, "local", "execution", "stop", execution_arn]
result = run_command(stop_command)
stderr_str = result.stderr.decode("utf-8") if isinstance(result.stderr, bytes) else result.stderr
stderr_str = stderr_str.replace("\r\n", "\n")

self.assertNotEqual(result.process.returncode, 0)
expected_message = f"Error: An error occurred (409) when calling the StopDurableExecution operation: Execution {execution_arn} is already completed\n"
self.assertEqual(stderr_str, expected_message)
self.assertEqual(result.process.returncode, 0)

@pytest.mark.tier1_extra
def test_tier1_execution(self):
Expand Down
Loading