Fix ServiceAccount manifest test manipulating the wrong values dictionary

This commit is contained in:
Ben Banfield-Zanin committed 2025-05-02 10:09:19 +01:00
1 parent a2d73c0612
commit 996a2bf634
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -0,0 +1 @@
Fix ServiceAccount manifest being unreliable.
+1 -1
View File
@@ -99,7 +99,7 @@ async def test_does_not_create_serviceaccounts_if_configured_not_to(deployables_
continue
values_to_modify = copy.deepcopy(values)
disable_service_account(deployable_details.get_helm_values_fragment(values))
disable_service_account(deployable_details.get_helm_values_fragment(values_to_modify))
workloads_by_id = {}
serviceaccount_names = set()