Skip to content

Commit

Permalink
case 2
Browse files Browse the repository at this point in the history
  • Loading branch information
wenovus committed Feb 2, 2024
1 parent 9cb443d commit 618e9dc
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions pkg/server/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -456,9 +456,6 @@ func TestListPathEnableFiltered(test *testing.T) {
}, func(d *api.Destination) {
count++
for _, path := range d.Paths {
if path.Filtered {
continue
}
var comms []uint32
for _, attr := range path.GetPattrs() {
m, err := attr.UnmarshalNew()
Expand Down Expand Up @@ -487,11 +484,11 @@ func TestListPathEnableFiltered(test *testing.T) {
t.ListPath(context.Background(), &api.ListPathRequest{
TableType: api.TableType_ADJ_OUT,
Family: family, Name: "127.0.0.1",
EnableFiltered: true,
EnableFiltered: false,
}, func(d *api.Destination) {
count++
for _, path := range d.Paths {
if !path.Filtered {
if path.Filtered {
continue
}
var comms []uint32
Expand Down Expand Up @@ -560,7 +557,7 @@ func TestListPathEnableFiltered(test *testing.T) {
}, func(d *api.Destination) {
count++
for _, path := range d.Paths {
if !path.Filtered {
if path.Filtered {
continue
}
var comms []uint32
Expand Down

0 comments on commit 618e9dc

Please sign in to comment.