diff --git a/command/agent/consul/int_test.go b/command/agent/consul/int_test.go index 737f22875..97cd56072 100644 --- a/command/agent/consul/int_test.go +++ b/command/agent/consul/int_test.go @@ -4,9 +4,7 @@ import ( "io/ioutil" "log" "os" - "os/user" "path/filepath" - "runtime" "testing" "time" @@ -39,11 +37,6 @@ func TestConsul_Integration(t *testing.T) { if testing.Short() { t.Skip("-short set; skipping") } - if runtime.GOOS != "windows" { - if u, err := user.Current(); err == nil && u.Uid != "0" { - t.Skip("Must be run as root") - } - } // Create an embedded Consul server testconsul, err := testutil.NewTestServerConfig(func(c *testutil.TestServerConfig) { // If -v wasn't specified squelch consul logging