mirror of https://github.com/status-im/consul.git
Change order of fixtures
This commit is contained in:
parent
37426f7410
commit
57d62eb492
|
@ -220,13 +220,13 @@ func TestCatalogListNodes(t *testing.T) {
|
|||
})
|
||||
|
||||
// Server node is auto added from Serf
|
||||
if out.Nodes[0].Node != s1.config.NodeName {
|
||||
if out.Nodes[1].Node != s1.config.NodeName {
|
||||
t.Fatalf("bad: %v", out)
|
||||
}
|
||||
if out.Nodes[1].Node != "foo" {
|
||||
if out.Nodes[0].Node != "foo" {
|
||||
t.Fatalf("bad: %v", out)
|
||||
}
|
||||
if out.Nodes[1].Address != "127.0.0.1" {
|
||||
if out.Nodes[0].Address != "127.0.0.1" {
|
||||
t.Fatalf("bad: %v", out)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue