Skip to content

Commit 4e13a91

Browse files
authored
fix: update durable execution stop test for new behavior (#8906)
1 parent fdb43da commit 4e13a91

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

tests/integration/local/execution/test_execution.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,8 @@ def test_execution_stop_already_completed(self):
6363
# Try to stop already completed execution
6464
stop_command = [self.cmd, "local", "execution", "stop", execution_arn]
6565
result = run_command(stop_command)
66-
stderr_str = result.stderr.decode("utf-8") if isinstance(result.stderr, bytes) else result.stderr
67-
stderr_str = stderr_str.replace("\r\n", "\n")
6866

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

7369
@pytest.mark.tier1_extra
7470
def test_tier1_execution(self):

0 commit comments

Comments
 (0)