From 2a64b89bdbc8fec645dd688bd0322f45c067f295 Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Fri, 4 Sep 2020 15:44:51 +1000 Subject: Add custom VarValue and const for sleep backoff --- stm_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stm_test.go') diff --git a/stm_test.go b/stm_test.go index 519415a..8526139 100644 --- a/stm_test.go +++ b/stm_test.go @@ -205,7 +205,7 @@ func TestAtomicSetRetry(t *testing.T) { } func testPingPong(t testing.TB, n int, afterHit func(string)) { - ball := NewVar(false) + ball := NewBuiltinEqVar(false) doneVar := NewVar(false) hits := NewVar(0) ready := NewVar(true) // The ball is ready for hitting. -- cgit v1.2.3