functional: add body for delete_namespaced_service in k8s
The API for delete_namespaced_service requires a body which when missing will fail the functional tests. This patch addresses that issue by adding an empty body in order for the delete to work properly. Change-Id: I3b4a4bb08f60d9d18368dd3faa84ab1348acb543 Story: #2002589 Task: #28341
This commit is contained in:
parent
d6cc77b16f
commit
e0fd3f9ef1
@ -517,7 +517,7 @@ class BaseK8sTest(ClusterTest):
|
||||
self.assertEqual('frontend', resp.metadata.name)
|
||||
self.assertTrue(resp.status)
|
||||
|
||||
resp = self.k8s_api.delete_namespaced_service(name='frontend',
|
||||
resp = self.k8s_api.delete_namespaced_service(name='frontend', body={},
|
||||
namespace='default')
|
||||
|
||||
def test_replication_controller_apis(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user