mirror of https://github.com/hashicorp/consul
parent
e8e4e5f867
commit
ad9425ca63
@ -0,0 +1,13 @@
|
||||
package testutil
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/hashicorp/consul/test/porter"
|
||||
)
|
||||
|
||||
func Test_PorterIsRunning(t *testing.T) {
|
||||
if _, err := porter.RandomPorts(1); err != nil {
|
||||
t.Fatalf("Porter must be running for Consul's unit tests")
|
||||
}
|
||||
}
|
Loading…
Reference in new issue