From c742a555832c69c4ed29d31aa0774653bf02cd56 Mon Sep 17 00:00:00 2001 From: hc-github-team-nomad-core <82989552+hc-github-team-nomad-core@users.noreply.github.com> Date: Fri, 17 Nov 2023 14:10:13 -0600 Subject: [PATCH] backport of commit a3f8a52fd4b192db339540152033b94f1e010b31 (#19123) Co-authored-by: Tim Gross --- e2e/workload_id/nodemeta_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/workload_id/nodemeta_test.go b/e2e/workload_id/nodemeta_test.go index c134556c5..f0b795543 100644 --- a/e2e/workload_id/nodemeta_test.go +++ b/e2e/workload_id/nodemeta_test.go @@ -157,6 +157,6 @@ func testDynamicNodeMetadata(t *testing.T) { must.Eq(t, "bar", resp.Meta[keyFoo]) must.Eq(t, "set", resp.Meta[keyUnset]) must.MapNotContainsKey(t, resp.Meta, keyEmpty) - must.MapContainsKey(t, resp.Dynamic, keyEmpty) + must.MapNotContainsKey(t, resp.Dynamic, keyEmpty) must.Nil(t, resp.Dynamic[keyEmpty]) }