Skip to content

Commit e52a2b5

Browse files
test: fix windows unit test for policymanager
Signed-off-by: Hunter Gregory <[email protected]>
1 parent bf2b3d2 commit e52a2b5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

npm/pkg/dataplane/policies/policymanager_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,9 @@ func TestBootup(t *testing.T) {
115115
metrics.IncNumACLRules()
116116

117117
require.NoError(t, pMgr.Bootup(epIDs))
118-
require.Equal(t, util.IptablesNft, util.Iptables)
118+
if util.IsWindowsDP() {
119+
require.Equal(t, util.IptablesNft, util.Iptables)
120+
}
119121

120122
expectedNumACLs := 11
121123
if util.IsWindowsDP() {

0 commit comments

Comments
 (0)