aboutsummaryrefslogtreecommitdiff
path: root/stm_test.go
diff options
context:
space:
mode:
authorChris Wendt <chrismwendt@gmail.com>2022-06-08 01:56:03 -0600
committerGitHub <noreply@github.com>2022-06-08 17:56:03 +1000
commit88b3fdf4d4fa8c0697ae173fec349890eb902836 (patch)
treec464c1b4c29e7fa2a45d4448a7b8415aebd1e264 /stm_test.go
parentCreate package-level example doc test from README (diff)
downloadstm-88b3fdf4d4fa8c0697ae173fec349890eb902836.tar.gz
stm-88b3fdf4d4fa8c0697ae173fec349890eb902836.tar.xz
Bump test timeout (#3)
Diffstat (limited to 'stm_test.go')
-rw-r--r--stm_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/stm_test.go b/stm_test.go
index 5c0ae31..207148c 100644
--- a/stm_test.go
+++ b/stm_test.go
@@ -27,7 +27,7 @@ func TestDecrement(t *testing.T) {
}()
select {
case <-done:
- case <-time.After(time.Second):
+ case <-time.After(10 * time.Second):
t.Fatal("decrement did not complete in time")
}
}