Add tests for share server migration
This patch adds new positive and negative tests for
share server migration.
Partially-implements: bp share-server-migration
Co-Authored-By: Daniel Tapia <danielarthurt@gmail.com>
Change-Id: Ice973bd2ad15bfb432e51da595b53c0480adba14
Depends-On: Ic0751027d2c3f1ef7ab0f7836baff3070a230cfd
Depends-On: I46a0cee0a4625d950f02fa7a5bf612de926451b5
Depends-On: I813801fd64d4d605c0a4fe06c7a130ad00865b6d
diff --git a/manila_tempest_tests/config.py b/manila_tempest_tests/config.py
index 2b6cfd4..610ae51 100644
--- a/manila_tempest_tests/config.py
+++ b/manila_tempest_tests/config.py
@@ -29,7 +29,7 @@
help="The minimum api microversion is configured to be the "
"value of the minimum microversion supported by Manila."),
cfg.StrOpt("max_api_microversion",
- default="2.56",
+ default="2.57",
help="The maximum api microversion is configured to be the "
"value of the latest microversion supported by Manila."),
cfg.StrOpt("region",
@@ -262,6 +262,10 @@
help="Defines whether to run tests that create share from "
"snapshots in another pool or az. Enable this "
"option if the used driver supports it."),
+ cfg.BoolOpt("run_share_servers_migration_tests",
+ default=False,
+ help="Defines whether to run share servers migration tests. "
+ "Enable this option if the used driver supports it."),
cfg.StrOpt("image_with_share_tools",
default="manila-service-image-master",
@@ -279,6 +283,10 @@
default=1500,
help="Time to wait for share migration before "
"timing out (seconds)."),
+ cfg.IntOpt("share_server_migration_timeout",
+ default="1500",
+ help="Time to wait for share server migration before "
+ "timing out (seconds)."),
cfg.StrOpt("default_share_type_name",
help="Default share type name to use in tempest tests."),
cfg.StrOpt("backend_replication_type",