SEBA-726 suppress not-useful duplicate k8s synchronizer messages
Change-Id: I8435677345ea18bb11ae5241e4dacb70778c6afd
diff --git a/xos/synchronizer/tests/test_pull_pods.py b/xos/synchronizer/tests/test_pull_pods.py
index 588e979..dec8116 100644
--- a/xos/synchronizer/tests/test_pull_pods.py
+++ b/xos/synchronizer/tests/test_pull_pods.py
@@ -96,7 +96,7 @@
pull_step.v1apps.read_namespaced_stateful_set.return_value = ss_obj
pull_step.v1apps.read_namespaced_deployment.return_value = dep_obj
- controller = pull_step.get_controller_from_obj(leaf_obj, self.trust_domain)
+ controller = pull_step.get_controller_from_obj("mypod", leaf_obj, self.trust_domain)
self.assertEqual(controller, dep_obj)
def test_get_slice_from_pod_exists(self):
@@ -115,7 +115,7 @@
pod = MagicMock()
- slice = pull_step.get_slice_from_pod(pod, self.trust_domain, self.principal)
+ slice = pull_step.get_slice_from_pod("mypod", pod, self.trust_domain, self.principal)
self.assertEqual(slice, myslice)
def test_get_slice_from_pod_noexist(self):
@@ -135,7 +135,7 @@
pod = MagicMock()
- slice = pull_step.get_slice_from_pod(pod, self.trust_domain, self.principal)
+ slice = pull_step.get_slice_from_pod("mypod", pod, self.trust_domain, self.principal)
self.assertEqual(slice.name, "my_other_slice")
self.assertEqual(slice.trust_domain, self.trust_domain)
self.assertEqual(slice.principal, self.principal)