Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
Signed-off-by: Lubron Zhan <lubronzhan@gmail.com>
  • Loading branch information
lubronzhan committed Jul 17, 2024
1 parent 8275421 commit f689ea5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/e2e/gateway/grpc_route_conflict_match_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func testGRPCRouteConflictMatch(namespace string, gateway types.NamespacedName)
}},
},
}
_, ok := f.CreateGRPCRouteAndWaitFor(route1, e2e.GRPCRouteAccepted)
ok := f.CreateGRPCRouteAndWaitFor(route1, e2e.GRPCRouteAccepted)
require.True(f.T(), ok)

By("create grpcroute-2 with conflicted matches")
Expand Down Expand Up @@ -87,7 +87,7 @@ func testGRPCRouteConflictMatch(namespace string, gateway types.NamespacedName)
},
},
}
_, ok = f.CreateGRPCRouteAndWaitFor(route2, e2e.GRPCRouteNotAcceptedDueToConflict)
ok = f.CreateGRPCRouteAndWaitFor(route2, e2e.GRPCRouteNotAcceptedDueToConflict)
require.True(f.T(), ok)

cleanup()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func testGRPCRoutePartiallyConflictMatch(namespace string, gateway types.Namespa
}},
},
}
_, ok := f.CreateGRPCRouteAndWaitFor(route1, e2e.GRPCRouteAccepted)
ok := f.CreateGRPCRouteAndWaitFor(route1, e2e.GRPCRouteAccepted)
require.True(f.T(), ok)

By("create grpcroute-2 with only partially conflicted matches")
Expand Down

0 comments on commit f689ea5

Please sign in to comment.