diff --git a/tests/integration/local/execution/test_execution.py b/tests/integration/local/execution/test_execution.py index d2a944f3ce..68cbc3f174 100644 --- a/tests/integration/local/execution/test_execution.py +++ b/tests/integration/local/execution/test_execution.py @@ -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):