Error rather than skip Consul acceptance tests if Consul isn't found
This commit is contained in:
parent
4a3d3ef300
commit
67b85b8f7f
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue