We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae7fca9 commit 6b133e7Copy full SHA for 6b133e7
coderd/autobuild/lifecycle_executor_test.go
@@ -111,11 +111,16 @@ func TestMultipleLifecycleExecutors(t *testing.T) {
111
// Get both clients to perform a lifecycle execution tick
112
next := sched.Next(workspace.LatestBuild.CreatedAt)
113
114
+ startCh := make(chan struct{})
115
go func() {
116
+ <-startCh
117
tickCh <- next
118
+ }()
119
+ go func() {
120
121
- close(tickCh)
122
}()
123
+ close(startCh)
124
125
// Now we want to check the stats for both clients
126
statsA := <-statsChA
0 commit comments