@@ -418,10 +418,10 @@ task "pod_delete", ["install_litmus"] do |t, args|
418
418
if spec_labels.as_h.has_key?(key) && spec_labels[key] == value
419
419
current_pod_key = key
420
420
current_pod_value = value
421
- puts " Match found for key: #{ key } and value: #{ value } "
421
+ Log .info { " Match found for key: #{ key } and value: #{ value } " }
422
422
true
423
423
else
424
- puts " Match not found for key: #{ key } and value: #{ value } "
424
+ Log .info { " Match not found for key: #{ key } and value: #{ value } " }
425
425
false
426
426
end
427
427
end
@@ -432,9 +432,7 @@ task "pod_delete", ["install_litmus"] do |t, args|
432
432
433
433
if test_passed
434
434
Log .info { " Running for: #{ spec_labels } " }
435
- puts " Running for: #{ spec_labels } "
436
435
Log .info { " Spec Hash: #{ args.named[" pod_labels" ]? } " }
437
- puts " Spec Hash: #{ args.named[" pod_labels" ]? } "
438
436
if args.named[" offline" ]?
439
437
Log .info { " install resilience offline mode" }
440
438
AirGap .image_pull_policy(" #{ OFFLINE_MANIFESTS_PATH } /pod-delete-experiment.yaml" )
@@ -488,9 +486,7 @@ task "pod_delete", ["install_litmus"] do |t, args|
488
486
).to_s
489
487
end
490
488
491
- puts " template: #{ template } "
492
489
Log .info { " template: #{ template } " }
493
-
494
490
File .write(" #{ destination_cnf_dir } /#{ chaos_experiment_name } -chaosengine.yml" , template)
495
491
KubectlClient ::Apply .file(" #{ destination_cnf_dir } /#{ chaos_experiment_name } -chaosengine.yml" )
496
492
LitmusManager .wait_for_test(test_name,chaos_experiment_name,total_chaos_duration,args, namespace: app_namespace)
0 commit comments