provider/azure: tests are racy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
Medium
|
Andrew Wilkins |
Bug Description
go test -race launchpad.
prints many races.
I was prompted to look at this from an intermittent test failure
on my machine:
FAIL: environ_
environ_
c.Check(err, gc.IsNil)
... value parallel.Errors = parallel.
environ_
c.
... obtained int = 19
... expected int = 20
OOPS: 158 passed, 1 FAILED
--- FAIL: TestAzureProvider (7.45 seconds)
FAIL
FAIL launchpad.
The full output from go test -race is rather long, but I've attached the output from
running "go test -race -gocheck.f TestStopInstanc
Changed in juju-core: | |
status: | New → Triaged |
importance: | Undecided → High |
tags: | added: test-failure |
tags: | added: race-condition |
Changed in juju-core: | |
importance: | High → Medium |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
This was fixed at the same time availability sets were implemented.