Test to make sure bootstrap is missing

This commit is contained in:
Sean Chittenden 2016-03-25 12:20:12 -07:00
parent 7a2d30d1cf
commit 0f3ad9c120
1 changed files with 3 additions and 0 deletions

View File

@ -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")
}
} }