summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2023-02-23 12:26:33 +0000
committerGerrit Code Review <review@openstack.org>2023-02-23 12:26:33 +0000
commit2c0728a963f0b5b096ea80e3077624c553003d28 (patch)
treee2eecf31adf8c7ab800271b16d82bac80f22ebb6
parenta88352fe0cbff2e693166d282e1d03147df06d00 (diff)
parentf235785a781c7488e903996fdefdeaf62b04dfe8 (diff)
downloadtempest-2c0728a963f0b5b096ea80e3077624c553003d28.tar.gz
Merge "Allow float value when overriding downtime"
-rw-r--r--tempest/config.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/tempest/config.py b/tempest/config.py
index 00b394eff..dfc0a8eb3 100644
--- a/tempest/config.py
+++ b/tempest/config.py
@@ -975,12 +975,12 @@ ValidationGroup = [
default='ecdsa',
help='Type of key to use for ssh connections. '
'Valid types are rsa, ecdsa'),
- cfg.IntOpt('allowed_network_downtime',
- default=5.0,
- help="Allowed VM network connection downtime during live "
- "migration, in seconds. "
- "When the measured downtime exceeds this value, an "
- "exception is raised."),
+ cfg.FloatOpt('allowed_network_downtime',
+ default=5.0,
+ help="Allowed VM network connection downtime during live "
+ "migration, in seconds. "
+ "When the measured downtime exceeds this value, an "
+ "exception is raised."),
]
volume_group = cfg.OptGroup(name='volume',