Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesse Schmidt committed Jan 10, 2024
1 parent 959f2b1 commit 5ad02a4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -312,10 +312,10 @@ func TestYamlToConf(t *testing.T) {
version := getVersion(tf.Arguments)
id := runServer(version, confPath, dockerClient, t, tf)

time.Sleep(time.Second * 10) // need this to allow logs to accumulate
time.Sleep(time.Second * 3) // need this to allow logs to accumulate
checkContainerLogs(id, t, tf, tmpServerLogPath)

stopServer(id, dockerClient)
checkContainerLogs(id, t, tf, tmpServerLogPath)
}

// cleanup the destination file
Expand Down Expand Up @@ -712,10 +712,10 @@ func TestConfToYaml(t *testing.T) {
version := getVersion(tf.Arguments)
id := runServer(version, finalConfPath, dockerClient, t, tf)

time.Sleep(time.Second * 10) // need this to allow logs to accumulate
time.Sleep(time.Second * 3) // need this to allow logs to accumulate
checkContainerLogs(id, t, tf, tmpServerLogPath)

stopServer(id, dockerClient)
checkContainerLogs(id, t, tf, tmpServerLogPath)
}

// cleanup the destination files
Expand Down

0 comments on commit 5ad02a4

Please sign in to comment.