diff --git a/integration_test.go b/integration_test.go index b3a8bb0..f9bd9f8 100644 --- a/integration_test.go +++ b/integration_test.go @@ -265,7 +265,7 @@ func TestYamlToConf(t *testing.T) { t.Logf("Skipping getExtraTests: %v", err) } - testFiles = append(testFiles, extraTests...) + testFiles = append(extraTests, testFiles...) for i, tf := range testFiles { var err error @@ -312,7 +312,7 @@ func TestYamlToConf(t *testing.T) { version := getVersion(tf.Arguments) id := runServer(version, confPath, dockerClient, t, tf) - time.Sleep(time.Second * 3) // need this to allow logs to accumulate + time.Sleep(time.Second * 5) // need this to allow logs to accumulate stopServer(id, dockerClient) checkContainerLogs(id, t, tf, tmpServerLogPath) @@ -712,7 +712,7 @@ func TestConfToYaml(t *testing.T) { version := getVersion(tf.Arguments) id := runServer(version, finalConfPath, dockerClient, t, tf) - time.Sleep(time.Second * 3) // need this to allow logs to accumulate + time.Sleep(time.Second * 5) // need this to allow logs to accumulate stopServer(id, dockerClient) checkContainerLogs(id, t, tf, tmpServerLogPath)