Skip to content

Commit

Permalink
Fixup leftover mentions of Task in e2e tests (#281)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfowl authored Jan 21, 2025
1 parent c136e82 commit c4e562f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion e2e-tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def teardown_class(cls):
logging.debug(f"calling {func}")
func()
# XXX oobtukbe does not clean up after itself
os.system(f"kubectl delete Task/vulnerable -n {NAMESPACE}")
os.system(f"kubectl delete ConfigMap/vulnerable -n {NAMESPACE}")

def create_from_yaml(self, path: str):
# delete resources in teardown method later
Expand Down
2 changes: 1 addition & 1 deletion e2e-tests/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def test_trivy(self):
assert expected_line in logs, f"{logfile} does not contain expected line: {expected_line}"

def test_oobtkube(self):
self.create_from_yaml(f"{self.tempdir}/task-controller-deployment.yaml")
self.create_from_yaml(f"{self.tempdir}/cm-controller-deployment.yaml")

self.create_from_yaml(f"{self.tempdir}/rapidast-oobtkube-configmap.yaml")
self.create_from_yaml(f"{self.tempdir}/rapidast-oobtkube-service.yaml")
Expand Down

0 comments on commit c4e562f

Please sign in to comment.