|
24 | 24 | installation-and-connectivity:
|
25 | 25 | name: Kind Installation and Connectivity Test
|
26 | 26 | runs-on: ubuntu-22.04
|
| 27 | + strategy: |
| 28 | + matrix: |
| 29 | + include: |
| 30 | + - test-concurrency: 1 |
| 31 | + - test-concurrency: 5 |
27 | 32 | timeout-minutes: 50
|
28 | 33 | steps:
|
29 | 34 | - name: Checkout
|
@@ -106,11 +111,13 @@ jobs:
|
106 | 111 | #
|
107 | 112 | # Dispatch interval is set to 100ms, b/c otherwise (default is 0), the flow validation might time out.
|
108 | 113 | cilium connectivity test --debug --test-namespace test-namespace \
|
| 114 | + --test-concurrency=${{ matrix.test-concurrency }} \ |
109 | 115 | --conn-disrupt-dispatch-interval 100ms \
|
110 | 116 | --include-conn-disrupt-test --conn-disrupt-test-setup
|
111 | 117 |
|
112 | 118 | # Run the connectivity test in non-default namespace (i.e. not cilium-test)
|
113 | 119 | cilium connectivity test --debug --all-flows --test-namespace test-namespace \
|
| 120 | + --test-concurrency=${{ matrix.test-concurrency }} \ |
114 | 121 | --include-unsafe-tests --include-conn-disrupt-test \
|
115 | 122 | --collect-sysdump-on-failure --junit-file cilium-junit-1.xml \
|
116 | 123 | --junit-property type=no-tunnel \
|
@@ -152,6 +159,7 @@ jobs:
|
152 | 159 | - name: Connectivity test
|
153 | 160 | run: |
|
154 | 161 | cilium connectivity test --debug --force-deploy --all-flows --test-namespace test-namespace \
|
| 162 | + --test-concurrency=${{ matrix.test-concurrency }} \ |
155 | 163 | --include-unsafe-tests \
|
156 | 164 | --collect-sysdump-on-failure --junit-file cilium-junit-2.xml \
|
157 | 165 | --junit-property type=ipsec \
|
@@ -315,10 +323,12 @@ jobs:
|
315 | 323 | #
|
316 | 324 | # Dispatch interval is set to 100ms, b/c otherwise (default is 0), the flow validation might time out.
|
317 | 325 | cilium connectivity test --context $CLUSTER1 --multi-cluster $CLUSTER2 --debug \
|
| 326 | + --test-concurrency=${{ matrix.test-concurrency }} \ |
318 | 327 | --conn-disrupt-dispatch-interval 100ms \
|
319 | 328 | --include-conn-disrupt-test --conn-disrupt-test-setup
|
320 | 329 |
|
321 | 330 | cilium connectivity test --context $CLUSTER1 --multi-cluster $CLUSTER2 --debug \
|
| 331 | + --test-concurrency=${{ matrix.test-concurrency }} \ |
322 | 332 | --include-unsafe-tests --include-conn-disrupt-test \
|
323 | 333 | --collect-sysdump-on-failure --junit-file cilium-junit-clustermesh-1.xml \
|
324 | 334 | --junit-property mode=clustermesh --junit-property type=ipsec
|
|
0 commit comments