mirror of
https://github.com/hashicorp/terraform.git
synced 2026-06-09 00:42:48 -04:00
Merge pull request #12726 from hashicorp/jbardin/spinlock
fix another hot lop in tests
This commit is contained in:
commit
b5d9116a7c
2 changed files with 2 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -1740,6 +1740,7 @@ func TestContext2Apply_cancel(t *testing.T) {
|
|||
if ctx.sh.Stopped() {
|
||||
break
|
||||
}
|
||||
time.Sleep(10 * time.Millisecond)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue