Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Commit

Permalink
Merge pull request #1849 from 2opremio/fix-flakey-discovery-test
Browse files Browse the repository at this point in the history
Fix flaky cached discovery test
  • Loading branch information
Alfonso Acosta authored Mar 21, 2019
2 parents 897ca73 + 20e8abd commit 88402e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cluster/kubernetes/cached_disco_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func TestCachedDiscovery(t *testing.T) {
},
}
makeHandler := func(d discovery.CachedDiscoveryInterface) toolscache.ResourceEventHandler {
return chainHandler{first: addHandler, next: makeInvalidatingHandler(d)}
return chainHandler{first: makeInvalidatingHandler(d), next: addHandler}
}

cachedDisco, store, _ := makeCachedDiscovery(coreClient.Discovery(), crdClient, shutdown, makeHandler)
Expand Down

0 comments on commit 88402e3

Please sign in to comment.