runtime: fix resource test (#2048)

This commit is contained in:
Lars Lehtonen
2020-10-18 23:21:56 -07:00
committed by GitHub
parent f679b560bb
commit 65a5feab3c

View File

@@ -46,6 +46,7 @@ func TestResources(t *testing.T) {
assert.Len(t, networkPolicy.AllowedLabels, 1)
networkPolicy, err = NewNetworkPolicy("ingress", "test", map[string]string{"foo": "bar", "bar": "foo"})
assert.NoError(t, err)
assert.Len(t, networkPolicy.AllowedLabels, 2)
// Service: