Skip to content

Commit

Permalink
testing: watsonx-serving: test: cleanup Watsonx on exit
Browse files Browse the repository at this point in the history
  • Loading branch information
kpouget committed Nov 8, 2023
1 parent 70bf1f9 commit 4527884
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion testing/watsonx-serving/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def cleanup_cluster():
"""
# _Not_ executed in OpenShift CI cluster (running on AWS). Only required for running in bare-metal environments.

logging.info("Nothing to do to cleanup the cluster.")
prepare_watsonx_serving.cleanup()


@entrypoint(ignore_secret_path=True)
Expand Down Expand Up @@ -279,6 +279,7 @@ class Entrypoint:

def __init__(self):
self.cleanup_cluster_ci = cleanup_cluster
self.cleanup_cluster = cleanup_cluster

self.prepare_ci = prepare_ci
self.prepare_watsonx_serving = _prepare_watsonx_serving
Expand Down

0 comments on commit 4527884

Please sign in to comment.