summaryrefslogtreecommitdiff
path: root/gate
diff options
context:
space:
mode:
authorBalazs Gibizer <balazs.gibizer@est.tech>2021-11-01 10:54:04 +0100
committerBalazs Gibizer <balazs.gibizer@est.tech>2021-11-01 11:26:55 +0000
commit45e71fb9ceaf7fd89e63379aa65a8971b053a8b1 (patch)
treec7789e370bff6cb6a97d8d3273622432f475faff /gate
parent171138146a648d22474b7021ac730e26f03455f8 (diff)
downloadnova-45e71fb9ceaf7fd89e63379aa65a8971b053a8b1.tar.gz
Temp disable nova-manage placement heal_allocation testing
Since I99a49b107b1872ddf83d1d8497a26a8d728feb07 the nova-next job fails due to I missed a dependency between that neutron patch and https://review.opendev.org/c/openstack/nova/+/802060 . So this patch disable testing until the nova adaptation lands. Change-Id: Ic28ef83f5193e6c1fbac1577ef58fe0d9e45694d
Diffstat (limited to 'gate')
-rwxr-xr-xgate/post_test_hook.sh40
1 files changed, 23 insertions, 17 deletions
diff --git a/gate/post_test_hook.sh b/gate/post_test_hook.sh
index 28ad9b939e..796b5afad0 100755
--- a/gate/post_test_hook.sh
+++ b/gate/post_test_hook.sh
@@ -101,6 +101,29 @@ fi
echo "Resource provider allocations were cleaned up properly."
+echo "Verifying online_data_migrations idempotence"
+# We will re-use the server created earlier for this test. (A server needs to
+# be present during the run of online_data_migrations and archiving).
+
+# Run the online data migrations before archiving.
+$MANAGE db online_data_migrations
+
+# We need to archive the deleted marker instance used by the
+# fill_virtual_interface_list online data migration in order to trigger
+# creation of a new deleted marker instance.
+set +e
+archive_deleted_rows
+set -e
+
+# Verify whether online data migrations run after archiving will succeed.
+# See for more details: https://bugs.launchpad.net/nova/+bug/1824435
+$MANAGE db online_data_migrations
+
+
+# temporary disable nova-manage placement heal_allocations testing until
+# https://review.opendev.org/c/openstack/nova/+/802060 lands
+exit 0
+
# Test "nova-manage placement heal_allocations" by creating a server, deleting
# its allocations in placement, and then running heal_allocations and assert
# the allocations were healed as expected.
@@ -254,20 +277,3 @@ if [[ "$my_key" == "" ]]; then
exit 2
fi
-echo "Verifying online_data_migrations idempotence"
-# We will re-use the server created earlier for this test. (A server needs to
-# be present during the run of online_data_migrations and archiving).
-
-# Run the online data migrations before archiving.
-$MANAGE db online_data_migrations
-
-# We need to archive the deleted marker instance used by the
-# fill_virtual_interface_list online data migration in order to trigger
-# creation of a new deleted marker instance.
-set +e
-archive_deleted_rows
-set -e
-
-# Verify whether online data migrations run after archiving will succeed.
-# See for more details: https://bugs.launchpad.net/nova/+bug/1824435
-$MANAGE db online_data_migrations