Error rather than skip Consul acceptance tests if Consul isn't found

This commit is contained in:
Jeff Mitchell 2016-03-07 10:09:36 -05:00
parent 4a3d3ef300
commit 67b85b8f7f
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ func TestBackend_role_lease(t *testing.T) {
func testStartConsulServer(t *testing.T) (map[string]interface{}, *os.Process) {
if _, err := exec.LookPath("consul"); err != nil {
t.Skipf("consul not found: %s", err)
t.Errorf("consul not found: %s", err)
}
td, err := ioutil.TempDir("", "vault")