fix: Wait for TestServer/Telemetry to close before exit (#2554)

This was causing occasional test failures due to leakage!
This commit is contained in:
Kyle Carberry
2022-06-21 11:50:29 -05:00
committed by GitHub
parent a48a838c9e
commit fe81b0b859

View File

@ -267,6 +267,8 @@ func TestServer(t *testing.T) {
<-deployment
<-snapshot
cancelFunc()
<-errC
})
}