Skip to content

Commit 0698513

Browse files
author
OpenShift Bot
authored
Merge pull request #12783 from ramr/bugfix
Merged by openshift-bot
2 parents 97275c6 + 0ed96c6 commit 0698513

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/integration/router_test.go

+1-3
Original file line numberDiff line numberDiff line change
@@ -369,9 +369,7 @@ func TestRouter(t *testing.T) {
369369

370370
//clean up
371371
routeEvent.Type = watch.Deleted
372-
endpointEvent.Type = watch.Modified
373-
endpoints := endpointEvent.Object.(*kapi.Endpoints)
374-
endpoints.Subsets = []kapi.EndpointSubset{}
372+
endpointEvent.Type = watch.Deleted
375373

376374
sendTimeout(t, fakeMasterAndPod.EndpointChannel, eventString(endpointEvent), 30*time.Second)
377375
sendTimeout(t, fakeMasterAndPod.RouteChannel, eventString(routeEvent), 30*time.Second)

0 commit comments

Comments
 (0)