Skip to content

Commit ddd8489

Browse files
authored
Merge pull request apache#381 from theopenlab/disable-panic-cases
Disable test cases that cause panic
2 parents e9222e0 + 84b3336 commit ddd8489

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • playbooks/terraform-provider-huaweicloud-acceptance-test-fusioncloud

playbooks/terraform-provider-huaweicloud-acceptance-test-fusioncloud/run.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,13 @@
6161
exitcode=0
6262
alltestcases=`go test ./huaweicloud/ -v -list 'Acc'`
6363
# skip the TestAccVpcPeeringConnectionV2DataSource_basic test, because it will raise a panic error and will break other tests running
64-
testcases=`echo "$alltestcases" | sed '$d' | grep -v -e Kms -e Rds -e RDS -e SFS -e SMN -e DNS -e ELB -e Nat -e Images -e TestAccVpcPeering`
64+
testcases=`echo "$alltestcases" | sed '$d' | grep -v -e Kms -e Rds -e RDS -e SFS -e SMN -e DNS -e ELB -e Nat -e Images -e TestAccVpcPeering -e TestAccVpcRouteIdsV2DataSource_basic`
6565
# Add OS_DEBUG=1 TF_LOG=debug flags for debuging
66-
echo "$testcases" | xargs -t -n100 sh -c 'OS_DEBUG=1 TF_LOG=debug TF_ACC=1 go test ./huaweicloud/ -v -timeout 180m -run $(echo "$@" | tr " " "|")' argv0 2>&1 | tee -a $TEST_RESULTS_TXT || exitcode=$?
66+
echo "$testcases" | xargs -t -n100 sh -c 'OS_DEBUG=1 TF_LOG=debug TF_ACC=1 go test ./huaweicloud/ -v -timeout 240m -run $(echo "$@" | tr " " "|")' argv0 2>&1 | tee -a $TEST_RESULTS_TXT || exitcode=$?
6767
6868
# Run image tests in a separate process to avoid messy output
6969
imagetestcases=`echo "$alltestcases" | sed '$d' | grep Images`
70-
echo "$imagetestcases" | xargs -t -n100 sh -c 'TF_LOG=debug TF_ACC=1 go test ./huaweicloud/ -v -timeout 180m -run $(echo "$@" | tr " " "|")' argv0 2>&1 | tee -a $TEST_RESULTS_TXT || exitcode=$?
70+
echo "$imagetestcases" | xargs -t -n100 sh -c 'TF_LOG=debug TF_ACC=1 go test ./huaweicloud/ -v -timeout 240m -run $(echo "$@" | tr " " "|")' argv0 2>&1 | tee -a $TEST_RESULTS_TXT || exitcode=$?
7171
7272
exit $exitcode
7373
executable: /bin/bash

0 commit comments

Comments
 (0)