diff --git a/e2e-tests/conftest.py b/e2e-tests/conftest.py index f226b2b..7fbdf24 100644 --- a/e2e-tests/conftest.py +++ b/e2e-tests/conftest.py @@ -161,4 +161,5 @@ def teardown_class(cls): def create_from_yaml(self, path: str): # delete resources in teardown method later self._teardowns.append(partial(os.system, f"kubectl delete -f {path} -n {NAMESPACE}")) - utils.create_from_yaml(self.kclient, path, namespace=NAMESPACE, verbose=True) + o = utils.create_from_yaml(self.kclient, path, namespace=NAMESPACE, verbose=True) + logging.debug(o) diff --git a/e2e-tests/test_nessus.py b/e2e-tests/test_nessus.py index f0f623e..9cfe117 100644 --- a/e2e-tests/test_nessus.py +++ b/e2e-tests/test_nessus.py @@ -9,6 +9,10 @@ class TestNessus(TestBase): def test_nessus(self): """Test rapidast find expected number of findings in VAPI""" self.create_from_yaml(f"{self.tempdir}/nessus-deployment.yaml") + os.system("oc get deploy") + os.system("oc get deploy -o yaml") + os.system("oc get pods") + os.system("oc get pods -o yaml") self.create_from_yaml(f"{self.tempdir}/nessus-service.yaml") wait_until_ready(label_selector="app=nessus", timeout=300) # nessus is slow to pull and start