List order test bug in launchpad.net/juju-core/environs/openstack

Bug #1135757 reported by Benji York
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Invalid
Undecided
Unassigned

Bug Description

When running the tests I get this test failure. It looks like a list ordering bug so hopefully sorting the expected and actual values will solve the problem.

----------------------------------------------------------------------
FAIL: live_test.go:0: localServerSuite.TestPersistence

[LOG] 40.43470 JUJU environs/openstack: opening environment "sample-a40a72be365172fa"
putting fake tools at tools/juju-1.9.10-quantal-amd64.tgz
[LOG] 40.48710 JUJU environs/openstack: opening environment "sample-a40a72be365172fa"
/home/benji/workspace/go/src/launchpad.net/juju-core/environs/jujutest/tests.go:183:
    c.Assert(lnames, DeepEquals, names)
... obtained []string = []string{"zzz/aa", "zzz/bb", "aa"}
... expected []string = []string{"aa", "zzz/aa", "zzz/bb"}

[LOG] 41.25975 JUJU environs/openstack: destroying environment "sample-a40a72be365172fa"
OOPS: 23 passed, 2 skipped, 1 FAILED
--- FAIL: Test (28.41 seconds)
FAIL
FAIL launchpad.net/juju-core/environs/openstack 28.765s

Revision history for this message
Benji York (benji) wrote :

This test failure was caused by an out of date dependency. Running "go get -u launchpad.net/..." fixed the failure.

Changed in juju-core:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.