pulumi/pkg/backend/filestate
Eng Zer Jun 19d84ef1f3
test: use `T.Setenv` to set env vars in tests (#10234)
This commit replaces `os.Setenv` with `t.Setenv` in tests. The
environment variable is automatically restored to its original value
when the test and all its subtests complete.

Reference: https://pkg.go.dev/testing#T.Setenv
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-07-24 10:41:44 +01:00
..
backend.go Attempt to connect to the bucket while logging in to a local backend (#10012) 2022-07-20 15:40:51 +02:00
backend_test.go test: use `T.Setenv` to set env vars in tests (#10234) 2022-07-24 10:41:44 +01:00
bucket.go Ensure filestate stack.json file are atomically replaced (#9122) 2022-03-08 11:21:39 +00:00
bucket_test.go ci: radical idea - what if slow tests & no stdout makes GH consider runner dead? 2022-03-06 14:52:13 -08:00
doc.go Document Go packages (#6009) 2021-01-11 11:07:59 -07:00
lock.go Readd "Make StackReference.Name a tokens.Name (#9088)" (#9236) 2022-03-17 21:37:11 +00:00
snapshot.go Readd "Make StackReference.Name a tokens.Name (#9088)" (#9236) 2022-03-17 21:37:11 +00:00
stack.go Moving previewDigest to sdk/go/common/display, and exporting it. (#9886) 2022-06-27 09:08:06 -05:00
state.go [cli] Fix Windows path handling for gzip filestate backend 2022-07-19 15:46:15 -07:00