From 93330402dcff63dcee3e3f5ba37b6a5266f6670d Mon Sep 17 00:00:00 2001 From: Jared O'Connell Date: Thu, 12 Oct 2023 16:38:52 -0400 Subject: [PATCH] Switch to wait --- arcaflow_plugin_wait/arcaflow_plugin_wait.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arcaflow_plugin_wait/arcaflow_plugin_wait.py b/arcaflow_plugin_wait/arcaflow_plugin_wait.py index 127e49f..677d6e3 100644 --- a/arcaflow_plugin_wait/arcaflow_plugin_wait.py +++ b/arcaflow_plugin_wait/arcaflow_plugin_wait.py @@ -57,7 +57,7 @@ def wait( as well the output structure """ start_time = time.time() - self.exit.wait(params.seconds) + time.sleep(params.seconds) actual_time = time.time() - start_time return "success", SuccessOutput( "Waited {:0.2f} seconds after being scheduled to wait for {}"