Adjust API tests for NotImplemented skip
This is a patch to restructure the API tests to use the
new skip_if_not_implemented capability.
Depends-On: https://review.opendev.org/745239
Change-Id: I291488e1c9418e51d6fe7ea142eaca13e3c181a0
diff --git a/octavia_tempest_plugin/config.py b/octavia_tempest_plugin/config.py
index 601c6c8..77d2f6e 100644
--- a/octavia_tempest_plugin/config.py
+++ b/octavia_tempest_plugin/config.py
@@ -50,10 +50,10 @@
choices=['public', 'admin', 'internal',
'publicURL', 'adminURL', 'internalURL'],
help="The endpoint type to use for the load-balancer service"),
- cfg.IntOpt('build_interval',
- default=5,
- help='Time in seconds between build status checks for '
- 'non-load-balancer resources to build'),
+ cfg.FloatOpt('build_interval',
+ default=5,
+ help='Time in seconds between build status checks for '
+ 'non-load-balancer resources to build'),
cfg.IntOpt('build_timeout',
default=300,
help='Timeout in seconds to wait for non-load-balancer '
@@ -62,9 +62,9 @@
help='The service_auth username the Octavia services are using'
'to access other OpenStack services.'),
# load-balancer specific options
- cfg.IntOpt('check_interval',
- default=5,
- help='Interval to check for status changes.'),
+ cfg.FloatOpt('check_interval',
+ default=5,
+ help='Interval to check for status changes.'),
cfg.IntOpt('check_timeout',
default=120,
help='Timeout, in seconds, to wait for a status change.'),
@@ -72,10 +72,10 @@
default=False,
help='Runs the tests assuming no-op drivers are being used. '
'Tests will assume no actual amphora are created.'),
- cfg.IntOpt('lb_build_interval',
- default=10,
- help='Time in seconds between build status checks for a '
- 'load balancer.'),
+ cfg.FloatOpt('lb_build_interval',
+ default=10,
+ help='Time in seconds between build status checks for a '
+ 'load balancer.'),
cfg.IntOpt('lb_build_timeout',
default=900,
help='Timeout in seconds to wait for a '