mirror of https://github.com/pulumi/pulumi.git
3d78b037f4
#14259 upgraded grpcio to 1.59.2, to support Python 3.12. Unfortunately, grpcio >=1.58.0 has a problem where calls to unimplemented gRPC methods cause a traceback to be emitted to the server's stderr, which affects Python dynamic providers, which don't implement `DiffConfig`. The result is a traceback diagnostic shown for the Pulumi program using the dynamic provider. This PR fixes this by reverting the change, downgrading grpcio back to 1.56.2. The existing Python dynamic provider diagnostic test has been extended to check to make sure there are no unexpected diagnostics, which fails before the revert, and passes after. An upstream issue has been opened: https://github.com/grpc/grpc/issues/34853 The issue to support Python 3.12 has been re-opened: #14258 (currently blocked on the upstream issue) Fixes #14442 |
||
---|---|---|
.. | ||
benchmarks/go-alias-norm | ||
examples | ||
integration | ||
testdata | ||
testprovider | ||
.gitignore | ||
README.md | ||
about_test.go | ||
config_test.go | ||
go.mod | ||
go.sum | ||
history_test.go | ||
login_test.go | ||
main_test.go | ||
policy_new_test.go | ||
remote_test.go | ||
roundtrip_test.go | ||
smoke_test.go | ||
stack_test.go |
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