Skip to content

Commit

Permalink
Fix policy route tests
Browse files Browse the repository at this point in the history
Signed-off-by: Lionel Jouin <lionel.jouin@est.tech>
  • Loading branch information
LionelJouin committed Mar 14, 2022
1 parent 113c4e4 commit ff3e43f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/networkservice/common/policyroute/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,12 @@ func TestCheckReloadedPolicies(t *testing.T) {
defer cancel()
// Create policies
policies := []*networkservice.PolicyRoute{
{From: "172.16.2.201/24", Proto: 6, Port: 6666, Routes: []*networkservice.Route{{
{From: "172.16.2.201/24", Proto: "6", DstPort: "6666", Routes: []*networkservice.Route{{
Prefix: "172.16.3.0/24",
NextHop: "172.16.2.200",
}}},
{Proto: 17, Port: 6666},
{Proto: 17, Port: 5555, Routes: []*networkservice.Route{{
{Proto: "17", DstPort: "6666"},
{Proto: "17", DstPort: "5555", Routes: []*networkservice.Route{{
Prefix: "2004::5/120",
NextHop: "2004::6",
}}},
Expand Down

0 comments on commit ff3e43f

Please sign in to comment.