Skip to content

Commit

Permalink
test: [NPM] fix windows unit test for policymanager (#3161)
Browse files Browse the repository at this point in the history
* test: fix windows unit test for policymanager

Signed-off-by: Hunter Gregory <[email protected]>

* fix(test): flip bool

Signed-off-by: Hunter Gregory <[email protected]>

---------

Signed-off-by: Hunter Gregory <[email protected]>
  • Loading branch information
huntergregory authored and rayaisaiah committed Jan 13, 2025
1 parent 269fc2d commit a7904db
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion npm/pkg/dataplane/policies/policymanager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,9 @@ func TestBootup(t *testing.T) {
metrics.IncNumACLRules()

require.NoError(t, pMgr.Bootup(epIDs))
require.Equal(t, util.IptablesNft, util.Iptables)
if !util.IsWindowsDP() {
require.Equal(t, util.IptablesNft, util.Iptables)
}

expectedNumACLs := 11
if util.IsWindowsDP() {
Expand Down

0 comments on commit a7904db

Please sign in to comment.