Fix a data race in TestFileWatcher (#24).
Fix a data race in TestFileWatcher (#24).

Use a channel to report events to the test, rather than a variable without
synchronization.

nevetS/ingress,winfield-chen-hs/ingress,arjanschaaf/ingress,kubernetes/ingress-nginx,danielqsj/ingress,aledbf/ingress-nginx,kubernetes/ingress-nginx,porridge/ingress,kubernetes/ingress-nginx,aledbf/ingress-nginx,nevetS/ingress,literalice/ingress,nicksardo/ingress,nicksardo/ingress,arjanschaaf/ingress,matthewg/ingress,jcmoraisjr/ingress,canhnt/ingress,caicloud/ingress,caicloud/ingress,coryfklein/ingress,coryfklein/ingress,kubernetes/ingress-nginx,literalice/ingress,nicksardo/ingress,chentao1596/ingress,canhnt/ingress,caiyixiang/ingress,canhnt/ingress,chentao1596/ingress,porridge/ingress,canhnt/ingress,aledbf/ingress-nginx,kubernetes/ingress-gce,aledbf/ingress-nginx,caicloud/ingress,kubernetes/ingress-nginx,jcmoraisjr/ingress,danielqsj/ingress,caicloud/ingress,kubernetes/ingress-gce,caiyixiang/ingress,jcmoraisjr/ingress,matthewg/ingress,nicksardo/ingress,winfield-chen-hs/ingress