Skip to content

Commit 5ac0e8c

Browse files
test: [NPM] fix windows unit test for policymanager (Azure#3161)
* test: fix windows unit test for policymanager Signed-off-by: Hunter Gregory <42728408+huntergregory@users.noreply.github.com> * fix(test): flip bool Signed-off-by: Hunter Gregory <42728408+huntergregory@users.noreply.github.com> --------- Signed-off-by: Hunter Gregory <42728408+huntergregory@users.noreply.github.com>
1 parent bca2a37 commit 5ac0e8c

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)