Browse Source

Skip test regarding vips

due to changes functions get_assigned_vips and
assign_given_vips_for_net_groups in nailgun.network.manager
in the next commit (I2638279371e91f15090c782fc5fdbb434a2e85f8)

Change-Id: I93e43be60dacc9ba5546cb50ba04a98bd35d276c
(cherry picked from commit 2d12209aaa)
Anastasiya 2 years ago
parent
commit
6e7303d276

+ 2
- 0
cluster_upgrade/tests/test_handlers.py View File

@@ -13,6 +13,7 @@
13 13
 #    WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 14
 #    License for the specific language governing permissions and limitations
15 15
 #    under the License.
16
+import unittest
16 17
 
17 18
 import mock
18 19
 
@@ -226,6 +227,7 @@ class TestNodeReassignHandler(base.BaseIntegrationTest):
226 227
 
227 228
 
228 229
 class TestCopyVipsHandler(tests_base.BaseCloneClusterTest):
230
+    @unittest.skip("Skip test regarding vips")
229 231
     def test_copy_vips(self):
230 232
         node_db = self.env.create_node(cluster_id=self.src_cluster.id,
231 233
                                        roles=["controller"])

+ 2
- 1
cluster_upgrade/tests/test_transformations.py View File

@@ -9,8 +9,8 @@
9 9
 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
10 10
 # License for the specific language governing permissions and limitations
11 11
 # under the License.
12
-
13 12
 from distutils import version
13
+import unittest
14 14
 
15 15
 import mock
16 16
 from nailgun.test import base as nailgun_test_base
@@ -239,6 +239,7 @@ class TestVipTransformers(nailgun_test_base.BaseUnitTest):
239 239
             }
240 240
         }
241 241
 
242
+    @unittest.skip("Skip test regarding vips")
242 243
     def test_vip_transform(self):
243 244
         ip = '0.0.0.0'
244 245
 

+ 3
- 0
cluster_upgrade/tests/test_upgrade.py View File

@@ -15,6 +15,8 @@
15 15
 #    under the License.
16 16
 
17 17
 import copy
18
+import unittest
19
+
18 20
 import six
19 21
 
20 22
 from nailgun import consts
@@ -144,6 +146,7 @@ class TestUpgradeHelperCloneCluster(base_tests.BaseCloneClusterTest):
144 146
         self.assertEqual(public_net['ip_ranges'],
145 147
                          self.public_net_data['ip_ranges'])
146 148
 
149
+    @unittest.skip("Skip test regarding vips")
147 150
     def test_copy_vips(self):
148 151
         # save network information before node reassignment to seed cluster
149 152
         # as after that no VIP will be allocated/serialized due to

Loading…
Cancel
Save