pulumi/tests
Fraser Waters fbbde3928a
Actually disable plugin acquisition (#14134)
<!--- 
Thanks so much for your contribution! If this is your first time
contributing, please ensure that you have read the
[CONTRIBUTING](https://github.com/pulumi/pulumi/blob/master/CONTRIBUTING.md)
documentation.
-->

# Description

<!--- Please include a summary of the change and which issue is fixed.
Please also include relevant motivation and context. -->

Turns out in https://github.com/pulumi/pulumi/pull/14104 we typo'd the
environment variable name, missing the "PULUMI_" prefix at the start.

This change fixes that, and the resulting fall out of tests running with
automatic plugin downloads being disabled by default.
One test it made sense to actually check with and without the envvar
set. All the others I've just made sure the envvar is falsy so they can
fetch the plugins they want to.

I've also un-skipped the tests that had been disabled due to always
hitting the rate limits. Hopefully now we should be hitting github less
often to allow these to pass consistently.
2023-10-14 08:32:43 +00:00
..
benchmarks/go-alias-norm deps: Upgrade google.golang.org/{genproto, grpc} 2023-07-27 16:24:33 -07:00
examples PR feedback 2023-07-06 20:40:23 -07:00
integration Actually disable plugin acquisition (#14134) 2023-10-14 08:32:43 +00:00
testdata Cover bool like and number like values in pulumi:tags test (#14092) 2023-10-07 18:27:03 +00:00
testprovider [engine] Check for old resources first by URN and then aliases (#13883) 2023-09-06 12:17:02 +00:00
.gitignore ci: Use reduced smoke testing on Windows & macOS targets 2022-09-21 09:55:06 -07:00
README.md Rename "Smoke" test to "Acceptance" tests 2023-01-30 15:38:37 -05:00
about_test.go test: fix regex used to test Go version output in about command. (#10499) 2022-08-29 11:53:03 -07:00
config_test.go filestate: Re-add project support 2023-03-31 13:21:36 -07:00
go.mod Changelog and go.mod updates for v3.88.1 (#14228) 2023-10-12 01:26:11 +00:00
go.sum [chore] update esc (#14155) 2023-10-11 16:57:30 +00:00
history_test.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
login_test.go ci: radical idea - what if slow tests & no stdout makes GH consider runner dead? 2022-03-06 14:52:13 -08:00
main_test.go Add SelfManaged env vars (#14015) 2023-09-25 14:07:46 +00:00
policy_new_test.go Revert "[policy] support premium policies (#13898)" (#14114) 2023-10-06 09:49:40 +00:00
remote_test.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
roundtrip_test.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
smoke_test.go Actually disable plugin acquisition (#14134) 2023-10-14 08:32:43 +00:00
stack_test.go Cover bool like and number like values in pulumi:tags test (#14092) 2023-10-07 18:27:03 +00:00

README.md

Integration Tests

This module provides integration tests for the Pulumi CLI.

The tests can be run via:

make test_all

Usage of Go build tags

In order to speed up integration tests in GitHub actions, Go build tags are used to conditionally compile the desired test cases.

// integration_nodejs_test.go
//go:build (nodejs || all) && !xplatform-acceptance

// integration_nodejs_acceptance_test.go
//go:build nodejs || all