pulumi/pkg/resource
Thomas Gummerer 4be05ab4d2
snapshot prune: check that the elements match instead of equals (#17477)
The property map in the results list is not necessarily ordered. Instead
of making sure that we have an equal object for the prune, let's just
check if the elements match, since that's what we care about. This fixes
some flakyness because of map ordering.

Note that we don't need to do the same for snap.Resources, and it's
better that way, because we care about the ordering of the resources in
the snapshot.

Fixes https://github.com/pulumi/pulumi/issues/17476

cc @lunaris
2024-10-04 15:01:26 +00:00
..
analyzer Clean up uses of .Error() (#14965) 2023-12-20 15:54:06 +00:00
deploy snapshot prune: check that the elements match instead of equals (#17477) 2024-10-04 15:01:26 +00:00
edit Enable some more linting rules (#17456) 2024-10-03 17:37:13 +00:00
graph Centralize resource state dependency traversal (#17320) 2024-09-23 08:37:34 +00:00
provider turn on the golangci-lint exhaustive linter (#15028) 2024-01-17 16:50:41 +00:00
stack Enable some more linting rules (#17456) 2024-10-03 17:37:13 +00:00
testdata ci: radical idea - what if slow tests & no stdout makes GH consider runner dead? 2022-03-06 14:52:13 -08:00