Merge pull request #12726 from hashicorp/jbardin/spinlock

fix another hot lop in tests
This commit is contained in:
James Bardin 2017-03-15 12:15:53 -04:00 committed by GitHub
commit b5d9116a7c
2 changed files with 2 additions and 1 deletions

View File

@ -5,7 +5,7 @@ go:
- 1.8
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
before_install:

View File

@ -1740,6 +1740,7 @@ func TestContext2Apply_cancel(t *testing.T) {
if ctx.sh.Stopped() {
break
}
time.Sleep(10 * time.Millisecond)
}
}