Clean shutdown of apply integration tests
This commit is contained in:
@@ -899,7 +899,7 @@ func timeout(ctx context.Context, d time.Duration, f func()) error {
|
||||
done := make(chan struct{})
|
||||
go func() {
|
||||
f()
|
||||
done <- struct{}{}
|
||||
close(done)
|
||||
}()
|
||||
|
||||
select {
|
||||
|
Reference in New Issue
Block a user