Update sync_test.go

This commit is contained in:
Ocenka 2025-08-22 09:41:03 +01:00 committed by GitHub
parent 10421edf3e
commit a3bc6ee47b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -948,7 +948,7 @@ func checkStall(t *testing.T, term func()) chan struct{} {
testDone := make(chan struct{})
go func() {
select {
case <-time.After(time.Minute): // TODO(karalabe): Make tests smaller, this is too much
case <-time.After(10 * time.Second): // shortened to reduce test runtime
t.Log("Sync stalled")
term()
case <-testDone: