Fixes flaky secret controller unit tests (#10043)
Fixes flaky secret controller unit tests (#10043)

Utilizes some utilizes in pkg/test to wait
for an event rather than sleep for an arbitrary
amount of time.
geeknoid/istio,geeknoid/istio,smawson/istio,geeknoid/istio,smawson/istio,istio/istio,istio/istio,smawson/istio,geeknoid/istio,smawson/istio,smawson/istio,istio/istio,smawson/istio,istio/istio,geeknoid/istio,geeknoid/istio,istio/istio