E2E: fix assertion in dynamic node metadata test (#19120)

In #18664 we change how null values worked with dynamic node metadata so that
they were no longer returned if there wasn't also a static value for that
key. The test assertion in E2E was not updated to match the new behavior.

Fixes: #19112
This commit is contained in:
Tim Gross
2023-11-17 14:35:07 -05:00
committed by GitHub
parent c144af2823
commit a3f8a52fd4

View File

@@ -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])
}