pulumi/sdk/nodejs/tests
Thomas Gummerer 94bda3a286
use uuid instead of random number for test suffix (#14827)
Currently we're using a random number for getting the test suffix.
However given the birthday paradox and the number of tests we're running
this doesn't seem to be good enough to keep our tests from being flaky.
Use a uuid instead, which is virtually guaranteed to be unique, and
should eliminate this problem.

Fixes #8220 (hopefully)

## Checklist

- [ ] I have run `make tidy` to update any new dependencies
- [ ] I have run `make lint` to verify my code passes the lint check
  - [ ] I have formatted my code using `gofumpt`

<!--- Please provide details if the checkbox below is to be left
unchecked. -->
- [ ] I have added tests that prove my fix is effective or that my
feature works
<!--- 
User-facing changes require a CHANGELOG entry.
-->
- [ ] I have run `make changelog` and committed the
`changelog/pending/<file>` documenting my change
<!--
If the change(s) in this PR is a modification of an existing call to the
Pulumi Cloud,
then the service should honor older versions of the CLI where this
change would not exist.
You must then bump the API version in
/pkg/backend/httpstate/client/api.go, as well as add
it to the service.
-->
- [ ] Yes, there are changes in this PR that warrants bumping the Pulumi
Cloud API version
<!-- @Pulumi employees: If yes, you must submit corresponding changes in
the service repo. -->
2023-12-12 13:09:27 +00:00
..
automation use uuid instead of random number for test suffix (#14827) 2023-12-12 13:09:27 +00:00
mockpackage Apply autoformat 2023-04-28 18:27:10 -04:00
runtime Pass root and main info to language host methods (#14654) 2023-12-10 17:30:51 +00:00
sxs_ts_test Bump semver from 5.7.1 to 5.7.2 in /sdk/nodejs/tests/sxs_ts_test (#13453) 2023-10-20 21:06:18 +00:00
config.spec.ts Apply autoformat 2023-04-28 18:27:10 -04:00
constants.ts ci: improve x-plat testing on Windows 2022-03-06 14:45:26 -08:00
init.spec.ts Apply autoformat 2023-04-28 18:27:10 -04:00
iterable.spec.ts Apply autoformat 2023-04-28 18:27:10 -04:00
options.spec.ts Apply autoformat 2023-04-28 18:27:10 -04:00
output.spec.ts Apply autoformat 2023-04-28 18:27:10 -04:00
provider.spec.ts Add google-protobuf types (#14422) 2023-10-27 09:55:44 +00:00
resource.spec.ts [sdk/nodejs] Fix provider for resource methods (#13796) 2023-08-30 14:49:53 +00:00
stackReference.spec.ts Apply autoformat 2023-04-28 18:27:10 -04:00
unwrap.spec.ts Apply autoformat 2023-04-28 18:27:10 -04:00
util.ts Apply autoformat 2023-04-28 18:27:10 -04:00