Commit b191faf8 authored by Sebastian Rivera's avatar Sebastian Rivera
Browse files

Add skip test if missing vars helper

parent 34114286
main MatthewTestBranch add-cont-valid-callout add-internals-to-sidebar add-jsonstate-to-cloudbackendstate add-jsonstate-to-cloudbackendstate2 add-note-about-spaces add-tutorial-custom-conditions add-version-notes-1.2 add-warnings-backends alisdair/fix-configload-snapshot-panic alisdair/metadata-functions-command b-check-output-multi-expand b-check-resource-multi-expand b-flatten-panic b-type-conversion-funcs-null b-yamldecode-emptydoc-null backport/29156_do_not_log_sensitive_values/nearly-safe-bullfrog backport/4th-alternate-mirror-directory-fix/closely-key-civet backport/add-cont-valid-callout/luckily-golden-wildcat backport/add-format-function-guidance/ultimately-lucky-halibut backport/add-internals-to-sidebar/willingly-bright-sunbird backport/add-version-notes-1.2/amazingly-premium-woodcock backport/add-warnings-backends/physically-many-mantis backport/alisdair/pre-convert-optional-defaults/virtually-able-mouse backport/b-check-resource-multi-expand/extremely-key-sheep backport/backport/cstella84/patch-add-hyperlink-for-referenced-argument/manually-patient-locust backport/bugfix_typos/hardly-sharp-mosquito backport/clarify-backend-state-storage/ultimately-causal-ladybird backport/cstella84/patch-add-hyperlink-for-referenced-argument backport/doc-s3-fix/utterly-close-rabbit backport/docs-fix-typo/usefully-blessed-monkey backport/docs-for-each-list-toset/basically-still-zebra backport/docs/unknwon-value/completely-musical-lionfish backport/f-build-go1.19.3/largely-peaceful-grouper backport/fix-apt-page/abnormally-relative-quagga backport/fix-backends-link/strangely-emerging-crane backport/fix-backends-link/vertically-noble-hornet backport/fix-cdktf-link/highly-pumped-snapper backport/fix-glossary-table-contents/uniquely-pro-garfish backport/fix-grammar/precisely-polite-tortoise backport/fix-internals-overview/globally-allowed-kid backport/fix-internals-overview/noticeably-up-rodent backport/fix-links-devdot/strictly-notable-sparrow backport/jbardin/cancel-auto-approve/extremely-brave-bear backport/jbardin/static-validate-nested-types/possibly-crack-mouse backport/kevin/rewrite-internal-redirects/quietly-helped-pelican backport/main/cleanly-mature-scorpion backport/mg_no_code_prov_followup/marginally-relevant-eagle backport/mktg-tf-76ef54dc3c574e032725e0341be8e1d2/distinctly-sharp-ferret backport/mktg-tf-76ef54dc3c574e032725e0341be8e1d2/friendly-evident-grouse backport/module-invocation-warning/fully-fitting-buzzard backport/nvanthao/update-docs-implicit-provider/locally-neutral-lemur backport/optional-type-attributes-note/inherently-dear-goat backport/patch-1/gladly-mature-oarfish backport/patch-1/manually-fine-mantis backport/patch-1/nationally-working-kite backport/patch-1/noticeably-comic-manatee backport/patch-1/rarely-informed-gopher backport/patch-1/sensibly-saving-swine backport/patch-1/usually-clear-shad backport/patch-1/vaguely-deciding-beagle backport/patch-1/virtually-more-rhino backport/patch-1/wholly-verified-racer backport/patch-1/willingly-usable-husky backport/patch-1/yearly-rich-skunk backport/patch-2/badly-game-spider backport/patch-2/finally-amazed-catfish backport/patch-2/openly-clean-tick backport/patch-2/weekly-selected-tiger backport/remove-future-statement-import/briefly-viable-glowworm backport/remove-provisioners/readily-correct-ferret backport/remove-provisioners/widely-singular-hound backport/startsswith-to-startswith/highly-gorgeous-katydid backport/system-parameter/infinitely-open-bluebird backport/update-cloud-block-pages/verbally-key-kangaroo backport/update-plan-page/lightly-outgoing-halibut backport/update-run-task-result/factually-star-sunfish backport/update_docs_for_30072/gradually-trusting-wahoo backport/workspaces-confusion-fixes/secondly-huge-titmouse brandonc/changelog_nested_sensitive brandonc/changelog_sensitive_diff_fixes brandonc/cloud_upgrade_013 brandonc/nested_attr_sensitive brandonc/providers-estimate brandonc/scheme_override_cloud build-workflow-dev/liamcervante/equivalence-test-action bump-gcp-storage-dependency bump-gcp-storage-dependency-2 dev-portal-updates-docs dividers-devdot-fixes doc-unicode-hcl doc-yamlencode-stable docs-for-each-list-toset docs-readme-updates-versioned-docs f-addrs-static-checkable f-build-go1.19.3 f-cli-hide-fast-refresh f-cmd-web f-dynamic-provider-assignment f-expand-root-outputs f-functions-in-providers f-jsonstate-2 f-moduletest-2 f-output-value-types f-partial-plan-on-error f-partial-plan-on-error-ui f-persistent-checks-old f-testing-with-conditions f/azurerm-backend-msal fix-apt-page fix-cdktf-link fix-dividers-for-devdot fix-future-facing-language fix-future-lang-2 fix-internals-overview fix-links-devdot fix-postconditions-example fix-readme-again gcs-backend-add-kms gcs-backend-add-private-connect-support gcs-refactor-credential-handling gs/add-pre-plan-run-tasks jbardin/1.3-destroy-perf jbardin/backport-31576 jbardin/data-source-destroy-edges jbardin/output-perf jbardin/plan-orphan-deleted jbardin/remove-deprecated-backends jbardin/resolved-provided-by jbardin/terraform-data jbardin/terraform-null jbardin/trigger-replacement kevin/local-preview-post-split kevin/preview kevin/remove-guides-docs kmoe/init-checksum-miss-error kmoe/misc-help-text laura-update-docs-readme liamcervante/cicd-go-vet liamcervante/structured-run-output release-notes-env-credentials rt-backport-changelog sebasslash/env-cloud-e2e-tests v1.4.0-alpha20221109 v1.3.5 v1.3.4 v1.3.3 v1.3.2 v1.3.1 v1.3.0 v1.3.0-rc1 v1.3.0-dev v1.3.0-beta1 v1.3.0-alpha20220817 v1.3.0-alpha20220803 v1.3.0-alpha20220706 v1.3.0-alpha20220622 v1.3.0-alpha20220608 v1.2.9 v1.2.8 v1.2.7 v1.2.6 v1.2.5 v1.2.4 v1.2.3 v1.2.2 v1.2.1 v1.2.0 v1.2.0-rc2 v1.2.0-rc1 v1.2.0-beta1
No related merge requests found
Showing with 4 additions and 0 deletions
+4 -0
......@@ -10,6 +10,7 @@ import (
func Test_cloud_organization_env_var(t *testing.T) {
t.Parallel()
skipIfMissingEnvVar(t)
ctx := context.Background()
org, cleanup := createOrganization(t)
......@@ -54,6 +55,7 @@ func Test_cloud_organization_env_var(t *testing.T) {
func Test_cloud_workspace_name_env_var(t *testing.T) {
t.Parallel()
skipIfMissingEnvVar(t)
org, orgCleanup := createOrganization(t)
t.Cleanup(orgCleanup)
......@@ -126,6 +128,7 @@ func Test_cloud_workspace_name_env_var(t *testing.T) {
func Test_cloud_workspace_tags_env_var(t *testing.T) {
t.Parallel()
skipIfMissingEnvVar(t)
org, orgCleanup := createOrganization(t)
t.Cleanup(orgCleanup)
......@@ -206,6 +209,7 @@ func Test_cloud_workspace_tags_env_var(t *testing.T) {
func Test_cloud_null_config(t *testing.T) {
t.Parallel()
skipIfMissingEnvVar(t)
org, cleanup := createOrganization(t)
t.Cleanup(cleanup)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment