Skip to content

Commit 78a8b9a

Browse files
committed
chore: disable sanity test run on AzureChinaCloud
1 parent 6249014 commit 78a8b9a

File tree

3 files changed

+2
-17
lines changed

3 files changed

+2
-17
lines changed

deploy/example/azure.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"cloudProviderBackoffExponent": 1.5,
2020
"cloudProviderBackoffDuration": 5,
2121
"cloudProviderBackoffJitter": 1,
22-
"cloudProviderRatelimit": true,
22+
"cloudProviderRatelimit": false,
2323
"cloudProviderRateLimitQPS": 3,
2424
"cloudProviderRateLimitBucket": 10,
2525
"useManagedIdentityExtension": false,

test/integration/azure.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"cloudProviderBackoffExponent": 1.5,
2020
"cloudProviderBackoffDuration": 5,
2121
"cloudProviderBackoffJitter": 1,
22-
"cloudProviderRatelimit": true,
22+
"cloudProviderRatelimit": false,
2323
"cloudProviderRateLimitQPS": 3,
2424
"cloudProviderRateLimitBucket": 10,
2525
"useManagedIdentityExtension": false,

test/sanity/run-tests-all-clouds.sh

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -32,20 +32,5 @@ if [ -v aadClientSecret ]; then
3232
go test -v ./test/sanity/...
3333
fi
3434

35-
# run test on AzureChinaCloud
36-
if [ -v aadClientSecret_china ]; then
37-
cp test/integration/azure.json $AZURE_CREDENTIAL_FILE
38-
39-
sed -i "s/AzurePublicCloud/AzureChinaCloud/g" $AZURE_CREDENTIAL_FILE
40-
sed -i "s/tenantId-input/${tenantId_china}/g" $AZURE_CREDENTIAL_FILE
41-
sed -i "s/subscriptionId-input/${subscriptionId_china}/g" $AZURE_CREDENTIAL_FILE
42-
sed -i "s/aadClientId-input/${aadClientId_china}/g" $AZURE_CREDENTIAL_FILE
43-
sed -i "s#aadClientSecret-input#${aadClientSecret_china}#g" $AZURE_CREDENTIAL_FILE
44-
sed -i "s/resourceGroup-input/${resourceGroup_china}/g" $AZURE_CREDENTIAL_FILE
45-
sed -i "s/location-input/${location_china}/g" $AZURE_CREDENTIAL_FILE
46-
47-
go test -v ./test/sanity/...
48-
fi
49-
5035
# make it always succeed for now
5136
exit 0

0 commit comments

Comments
 (0)