Skip to content

Commit 0d069df

Browse files
authored
ci: skip restart and validation test in dualstack windows (#3426)
pick: skip restart and validation test in dualstack windows
1 parent 93dcca1 commit 0d069df

File tree

1 file changed

+1
-35
lines changed

1 file changed

+1
-35
lines changed

.pipelines/singletenancy/dualstack-overlay/dualstackoverlay-e2e-step-template.yaml

Lines changed: 1 addition & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -113,38 +113,4 @@ steps:
113113
displayName: "Windows DualStack Overlay Datapath Tests"
114114
retryCountOnTaskFailure: 3
115115
116-
- task: AzureCLI@1
117-
inputs:
118-
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
119-
scriptLocation: "inlineScript"
120-
scriptType: "bash"
121-
addSpnToEnvironment: true
122-
inlineScript: |
123-
set -e
124-
clusterName=${{ parameters.clusterName }}
125-
echo "Restarting nodes"
126-
for val in $(az vmss list -g MC_${clusterName}_${clusterName}_$(REGION_DUALSTACKOVERLAY_CLUSTER_TEST) --query "[].name" -o tsv); do
127-
make -C ./hack/aks restart-vmss AZCLI=az CLUSTER=${clusterName} REGION=$(REGION_DUALSTACKOVERLAY_CLUSTER_TEST) VMSS_NAME=${val}
128-
done
129-
displayName: "Restart Nodes"
130-
131-
- task: AzureCLI@1
132-
inputs:
133-
azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION)
134-
scriptLocation: "inlineScript"
135-
scriptType: "bash"
136-
addSpnToEnvironment: true
137-
inlineScript: |
138-
set -e
139-
cd test/integration/load
140-
141-
# Scale Cluster Up/Down to confirm functioning CNS
142-
ITERATIONS=2 SCALE_UP=${{ parameters.scaleup }} OS_TYPE=windows go test -count 1 -timeout 30m -tags load -run ^TestLoad$
143-
kubectl get pods -owide -A
144-
145-
cd ../../..
146-
echo "Validating Node Restart"
147-
make test-validate-state OS_TYPE=windows RESTART_CASE=true CNI_TYPE=cniv2
148-
kubectl delete ns load-test
149-
displayName: "Validate Node Restart"
150-
retryCountOnTaskFailure: 3
116+
# Windows node restart and validation tests removed due to flakiness

0 commit comments

Comments
 (0)