mirror of https://github.com/status-im/consul.git
Test to make sure bootstrap is missing
This commit is contained in:
parent
7a2d30d1cf
commit
0f3ad9c120
|
@ -54,4 +54,7 @@ func TestIsConsulServer(t *testing.T) {
|
||||||
if !ok || parts.Expect != 3 {
|
if !ok || parts.Expect != 3 {
|
||||||
t.Fatalf("bad: %v", parts.Expect)
|
t.Fatalf("bad: %v", parts.Expect)
|
||||||
}
|
}
|
||||||
|
if parts.Bootstrap {
|
||||||
|
t.Fatalf("unexpected bootstrap")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue