Skip to content

Commit

Permalink
Merge pull request apache#413 from jtopjian/revert-tf-schema-panic
Browse files Browse the repository at this point in the history
Revert TF_SCHEMA_PANIC_ON_ERROR for Terraform OpenStack Provider
  • Loading branch information
liusheng authored Jan 18, 2019
2 parents 8cb23e3 + a8b847b commit e02e4bc
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
export OS_DNS_ENVIRONMENT=1 # for Designate tests
testcases=`go test ./openstack/ -v -list 'Acc'`
testcases=`echo "$testcases" | sed '$d' | grep DNS`
echo "$testcases" | xargs -t -n100 sh -c 'TF_LOG=DEBUG TF_ACC=1 TF_SCHEMA_PANIC_ON_ERROR=1 go test ./openstack -v -timeout 120m -run $(echo "$@" | tr " " "|")' argv0 2>&1 | tee $TEST_RESULTS_TXT
echo "$testcases" | xargs -t -n100 sh -c 'TF_LOG=DEBUG TF_ACC=1 go test ./openstack -v -timeout 120m -run $(echo "$@" | tr " " "|")' argv0 2>&1 | tee $TEST_RESULTS_TXT
executable: /bin/bash
chdir: '{{ zuul.project.src_dir }}'
environment: '{{ global_env }}'
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
export OS_FW_ENVIRONMENT=1 # for FWaaS tests
testcases=`go test ./openstack/ -v -list 'Acc'`
testcases=`echo "$testcases" | sed '$d' | grep FW`
echo "$testcases" | xargs -t -n100 sh -c 'TF_LOG=DEBUG TF_ACC=1 TF_SCHEMA_PANIC_ON_ERROR=1 go test ./openstack -v -timeout 120m -run $(echo "$@" | tr " " "|")' argv0 2>&1 | tee $TEST_RESULTS_TXT
echo "$testcases" | xargs -t -n100 sh -c 'TF_LOG=DEBUG TF_ACC=1 go test ./openstack -v -timeout 120m -run $(echo "$@" | tr " " "|")' argv0 2>&1 | tee $TEST_RESULTS_TXT
executable: /bin/bash
chdir: '{{ zuul.project.src_dir }}'
environment: '{{ global_env }}'
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
export OS_LB_ENVIRONMENT=1 # for LBaaS tests
testcases=`go test ./openstack/ -v -list 'Acc'`
testcases=`echo "$testcases" | sed '$d' | grep LB`
echo "$testcases" | xargs -t -n100 sh -c 'TF_LOG=DEBUG TF_ACC=1 TF_SCHEMA_PANIC_ON_ERROR=1 go test ./openstack -v -timeout 120m -run $(echo "$@" | tr " " "|")' argv0 2>&1 | tee $TEST_RESULTS_TXT
echo "$testcases" | xargs -t -n100 sh -c 'TF_LOG=DEBUG TF_ACC=1 go test ./openstack -v -timeout 120m -run $(echo "$@" | tr " " "|")' argv0 2>&1 | tee $TEST_RESULTS_TXT
executable: /bin/bash
chdir: '{{ zuul.project.src_dir }}'
environment: '{{ global_env }}'
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
# Run except the DNS/FW/LB test 100 testcases at a time
testcases=`go test ./openstack/ -v -list 'Acc'`
testcases=`echo "$testcases" | sed '$d' | grep -v -e FW -e LB`
echo "$testcases" | xargs -t -n100 sh -c 'TF_LOG=DEBUG OS_DEBUG=1 TF_ACC=1 TF_SCHEMA_PANIC_ON_ERROR=1 go test ./openstack -v -timeout 120m -run $(echo "$@" | tr " " "|")' argv0 2>&1 | tee $TEST_RESULTS_TXT
echo "$testcases" | xargs -t -n100 sh -c 'TF_LOG=DEBUG OS_DEBUG=1 TF_ACC=1 go test ./openstack -v -timeout 120m -run $(echo "$@" | tr " " "|")' argv0 2>&1 | tee $TEST_RESULTS_TXT
executable: /bin/bash
chdir: '{{ zuul.project.src_dir }}'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
export OS_DB_DATASTORE_VERSION=${mysql_version}
testcases=`go test ./openstack/ -v -list 'Acc'`
testcases=`echo "$testcases" | sed '$d' | grep Database`
echo "$testcases" | xargs -t -n100 sh -c 'TF_LOG=DEBUG TF_ACC=1 TF_SCHEMA_PANIC_ON_ERROR=1 go test ./openstack -v -timeout 120m -run $(echo "$@" | tr " " "|")' argv0 2>&1 | tee $TEST_RESULTS_TXT
echo "$testcases" | xargs -t -n100 sh -c 'TF_LOG=DEBUG TF_ACC=1 go test ./openstack -v -timeout 120m -run $(echo "$@" | tr " " "|")' argv0 2>&1 | tee $TEST_RESULTS_TXT
executable: /bin/bash
chdir: '{{ zuul.project.src_dir }}'
environment: '{{ global_env }}'
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
export OS_SWIFT_ENVIRONMENT=1 # for Swift tests
testcases=`go test ./openstack/ -v -list 'Acc'`
testcases=`echo "$testcases" | sed '$d' | grep -v -e FW -e LB`
echo "$testcases" | xargs -t -n100 sh -c 'OS_DEBUG=1 TF_LOG=DEBUG TF_ACC=1 TF_SCHEMA_PANIC_ON_ERROR=1 go test ./openstack -v -timeout 120m -run $(echo "$@" | tr " " "|")' argv0 2>&1 | tee $TEST_RESULTS_TXT
echo "$testcases" | xargs -t -n100 sh -c 'OS_DEBUG=1 TF_LOG=DEBUG TF_ACC=1 go test ./openstack -v -timeout 120m -run $(echo "$@" | tr " " "|")' argv0 2>&1 | tee $TEST_RESULTS_TXT
executable: /bin/bash
chdir: '{{ zuul.project.src_dir }}'
environment: '{{ global_env }}'

0 comments on commit e02e4bc

Please sign in to comment.