forked from TrueCloudLab/xk6-frostfs
[#30] preset: Stop execution if no new containers were created
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
0088fbd7d6
commit
0dda9f17fa
1 changed files with 2 additions and 0 deletions
|
@ -46,6 +46,8 @@ def main():
|
||||||
print("Create containers: Completed")
|
print("Create containers: Completed")
|
||||||
|
|
||||||
print(f" > Containers: {container_list}")
|
print(f" > Containers: {container_list}")
|
||||||
|
if not container_list:
|
||||||
|
return
|
||||||
|
|
||||||
print(f"Upload objects to each container: {args.preload_obj} ")
|
print(f"Upload objects to each container: {args.preload_obj} ")
|
||||||
random_payload(payload_filepath)
|
random_payload(payload_filepath)
|
||||||
|
|
Loading…
Reference in a new issue