diff --git a/tests/runtime/conftest.py b/tests/runtime/conftest.py index 36d75a15d63f..2a57a9c820b7 100644 --- a/tests/runtime/conftest.py +++ b/tests/runtime/conftest.py @@ -224,6 +224,7 @@ def _load_runtime( config = load_app_config() config.run_as_openhands = run_as_openhands config.sandbox.force_rebuild_runtime = force_rebuild_runtime + config.sandbox.keep_runtime_alive = False # Folder where all tests create their own folder global test_mount_path if use_workspace: diff --git a/tests/runtime/test_stress_remote_runtime.py b/tests/runtime/test_stress_remote_runtime.py index 32f0954389e5..a38b5c5dbe24 100644 --- a/tests/runtime/test_stress_remote_runtime.py +++ b/tests/runtime/test_stress_remote_runtime.py @@ -64,7 +64,7 @@ def get_config( timeout=300, api_key=os.environ.get('ALLHANDS_API_KEY', None), remote_runtime_api_url=os.environ.get('SANDBOX_REMOTE_RUNTIME_API_URL'), - keep_runtime_alive=True, + keep_runtime_alive=False, ), # do not mount workspace workspace_base=None,