You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/e2e.yaml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -86,7 +86,7 @@ jobs:
86
86
run: go run cmd/loader.go --config pkg/config/test_vswarm_config.json
87
87
88
88
- name: Check vSwarm output
89
-
run: test -f "data/out/experiment_duration_2.csv" && test $(cat data/out/experiment_duration_2.csv | wc -l) -gt 1 && test $(grep true data/out/experiment_duration_2.csv | wc -l) -eq 1 # test the output file for errors (true means failure to invoke)
89
+
run: test -f "data/out/experiment_duration_2.csv" && test $(cat data/out/experiment_duration_2.csv | wc -l) -gt 1 && test $(grep true data/out/experiment_duration_2.csv | wc -l) -le 1 # test the output file for errors (true means failure to invoke)
Copy file name to clipboardExpand all lines: .github/workflows/e2e_loader.yaml
+29-2Lines changed: 29 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@ jobs:
39
39
run: go run cmd/loader.go --config pkg/config/test_config.json
40
40
41
41
- name: Check the output
42
-
run: test -f "data/out/experiment_duration_5.csv" && test $(cat data/out/experiment_duration_5.csv | wc -l) -gt 1 && test $(grep true data/out/experiment_duration_5.csv | wc -l) -eq 0 # test the output file for errors (true means failure to invoke)
42
+
run: test -f "data/out/experiment_duration_2.csv" && test $(cat data/out/experiment_duration_2.csv | wc -l) -gt 1 && test $(grep true data/out/experiment_duration_2.csv | wc -l) -eq 0 # test the output file for errors (true means failure to invoke)
43
43
44
44
- name: Print logs
45
45
if: ${{ always() }}
@@ -54,4 +54,31 @@ jobs:
54
54
- name: Down
55
55
if: ${{ always() }}
56
56
run: |
57
-
kn service delete --all
57
+
kn service delete --all
58
+
59
+
- name: Untar vSwarm YAMLs
60
+
if: ${{ always() }}
61
+
run: |
62
+
tar -xzvf workloads/container/yamls.tar.gz -C workloads/container/
63
+
- name: Run vSwarm loader
64
+
run: go run cmd/loader.go --config pkg/config/test_vswarm_config.json
65
+
66
+
- name: Check vSwarm output
67
+
run: test -f "data/out/experiment_duration_2.csv" && test $(cat data/out/experiment_duration_2.csv | wc -l) -gt 1 && test $(grep true data/out/experiment_duration_2.csv | wc -l) -le 1 # test the output file for errors (true means failure to invoke)
68
+
69
+
- name: Print logs
70
+
if: ${{ always() }}
71
+
run: |
72
+
set -x
73
+
container_list=$(kubectl get pods -n default -o jsonpath="{.items[*].spec.containers[*].name}")
0 commit comments