Skip to content

Commit 5b8d884

Browse files
author
Aaron Schlesinger
committed
fix(pkg/sshd/server_test.go): wait for the wait group with a timeout
1 parent 6a34b3e commit 5b8d884

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/sshd/server_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ func TestManyConcurrentPushes(t *testing.T) {
197197
assert.Equal(t, string(out), "OK", "output")
198198
}(repoName)
199199
}
200-
wg.Wait()
200+
assert.NoErr(t, waitWithTimeout(&wg, 1*time.Second))
201201
}
202202

203203
func TestDelete(t *testing.T) {

0 commit comments

Comments
 (0)