mirror of https://github.com/status-im/consul.git
test: Do not run RetryJoin tests in parallel
I am suspecting port conflicts with the agents that are started. This needs further investigation.
This commit is contained in:
parent
d1dc7c0cbb
commit
0cb4295182
|
@ -53,7 +53,7 @@ func TestValidDatacenter(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestRetryJoin(t *testing.T) {
|
||||
t.Parallel()
|
||||
// do not t.Parallel()
|
||||
dir, agent := makeAgent(t, nextConfig())
|
||||
defer os.RemoveAll(dir)
|
||||
defer agent.Shutdown()
|
||||
|
@ -123,7 +123,7 @@ func TestRetryJoin(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestReadCliConfig(t *testing.T) {
|
||||
t.Parallel()
|
||||
// do not t.Parallel()
|
||||
tmpDir, err := ioutil.TempDir("", "consul")
|
||||
if err != nil {
|
||||
t.Fatalf("err: %s", err)
|
||||
|
@ -255,7 +255,7 @@ func TestReadCliConfig(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestRetryJoinFail(t *testing.T) {
|
||||
t.Parallel()
|
||||
// do not t.Parallel()
|
||||
conf := nextConfig()
|
||||
tmpDir, err := ioutil.TempDir("", "consul")
|
||||
if err != nil {
|
||||
|
@ -286,7 +286,7 @@ func TestRetryJoinFail(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestRetryJoinWanFail(t *testing.T) {
|
||||
t.Parallel()
|
||||
// do not t.Parallel()
|
||||
conf := nextConfig()
|
||||
tmpDir, err := ioutil.TempDir("", "consul")
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue