Failing to create tempdir in tests on windows
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
High
|
Gabriel Samfira |
Bug Description
A number of test suites fail on windows trying to create a tempdir that already exists:
PANIC: backups_test.go:1: downloadSuite.
... Panic: Couldn't create temporary directory: mkdir C:\Users\
...
PANIC: state_test.go:205: StateFileSuite.
test 0
... Panic: Couldn't create temporary directory: mkdir C:\Users\
It's not surprising that we may fail to delete a tempdir on windows, but certainly the newly created ones should have unique names not the same long number suffix each time.
Changed in juju-core: | |
milestone: | none → 1.23 |
Changed in juju-core: | |
assignee: | nobody → Gabriel Samfira (gabriel-samfira) |
Changed in juju-core: | |
milestone: | 1.23 → none |
Changed in juju-core: | |
milestone: | none → 1.24-alpha1 |
status: | Triaged → Fix Released |
The following branch fixes a number of failing tests:
http:// reviews. vapour. ws/r/1119