summaryrefslogtreecommitdiff
path: root/test/lib/ansible_test/_internal/cli/commands/env.py
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2023-05-10 20:03:35 -0700
committerGitHub <noreply@github.com>2023-05-10 20:03:35 -0700
commit9ce8eb56beac4dcc138d14948003b0792be5ecd5 (patch)
tree2e68e082afce6d0ebb97c25bbcd8777ea0b18959 /test/lib/ansible_test/_internal/cli/commands/env.py
parent8f07fda2b5570d37dcf5dfa0606220097cccfb54 (diff)
downloadansible-9ce8eb56beac4dcc138d14948003b0792be5ecd5.tar.gz
[stable-2.13] ansible-test - Fix timeout handling (#80764). (#80767)
(cherry picked from commit 4c6aa70662e6f2804686a32bea611a8aa870b363)
Diffstat (limited to 'test/lib/ansible_test/_internal/cli/commands/env.py')
-rw-r--r--test/lib/ansible_test/_internal/cli/commands/env.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/ansible_test/_internal/cli/commands/env.py b/test/lib/ansible_test/_internal/cli/commands/env.py
index 53437a1f96..2a957a1b96 100644
--- a/test/lib/ansible_test/_internal/cli/commands/env.py
+++ b/test/lib/ansible_test/_internal/cli/commands/env.py
@@ -55,7 +55,7 @@ def do_env(
env.add_argument(
'--timeout',
- type=int,
+ type=float,
metavar='MINUTES',
help='timeout for future ansible-test commands (0 clears)',
)