Merge pull request #12726 from hashicorp/jbardin/spinlock
fix another hot lop in tests
This commit is contained in:
commit
b5d9116a7c
|
@ -5,7 +5,7 @@ go:
|
||||||
- 1.8
|
- 1.8
|
||||||
|
|
||||||
env:
|
env:
|
||||||
- CONSUL_VERSION=0.7.5 TF_CONSUL_TEST=1
|
- CONSUL_VERSION=0.7.5 TF_CONSUL_TEST=1 GOMAXPROCS=4
|
||||||
|
|
||||||
# Fetch consul for the backend and provider tests
|
# Fetch consul for the backend and provider tests
|
||||||
before_install:
|
before_install:
|
||||||
|
|
|
@ -1740,6 +1740,7 @@ func TestContext2Apply_cancel(t *testing.T) {
|
||||||
if ctx.sh.Stopped() {
|
if ctx.sh.Stopped() {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
time.Sleep(10 * time.Millisecond)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue