Skip to content

Commit

Permalink
Fixing pvc scenario
Browse files Browse the repository at this point in the history
  • Loading branch information
shahsahil264 committed Aug 16, 2023
1 parent dba3866 commit 925f15b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions kraken/pvc/pvc_scenario.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,7 @@ def run(scenarios_list, config, kubecli: krkn_lib_kubernetes.KrknLibKubernetes,
command,
pod_name,
namespace,
container_name,
"sh"
container_name
)
).split()
pvc_used_kb = int(command_output[2])
Expand Down Expand Up @@ -209,7 +208,7 @@ def run(scenarios_list, config, kubecli: krkn_lib_kubernetes.KrknLibKubernetes,
command = "ls -lh %s" % (str(mount_path))
logging.debug("Check file is created command:\n %s" % command)
response = kubecli.exec_cmd_in_pod(
command, pod_name, namespace, container_name, "sh"
command, pod_name, namespace, container_name
)
logging.info("\n" + str(response))
if str(file_name).lower() in str(response).lower():
Expand Down

0 comments on commit 925f15b

Please sign in to comment.