tests: Use variable definition for better uniformity

This PR replaces the name to use a variable that is already defined
to have a better uniformity across the general script.

Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
This commit is contained in:
Gabriela Cervantes 2024-06-03 17:31:23 +00:00
parent 6c7affbd85
commit cafba23f3e

View File

@ -179,8 +179,8 @@ kbs_uninstall_cli() {
function kbs_k8s_delete() { function kbs_k8s_delete() {
pushd "$COCO_KBS_DIR" pushd "$COCO_KBS_DIR"
kubectl delete -k config/kubernetes/overlays kubectl delete -k config/kubernetes/overlays
# Verify that coco-tenant resources were properly deleted # Verify that KBS namespace resources were properly deleted
cmd="kubectl get all -n coco-tenant 2>&1 | grep 'No resources found'" cmd="kubectl get all -n $KBS_NS 2>&1 | grep 'No resources found'"
waitForProcess "120" "30" "$cmd" waitForProcess "120" "30" "$cmd"
popd popd
} }