Skip to content

Commit

Permalink
wait 10 second after restart TestChangeReplicationPathIfReplicaExists
Browse files Browse the repository at this point in the history
Signed-off-by: Slach <[email protected]>
  • Loading branch information
Slach committed Nov 4, 2024
1 parent e0daea6 commit 0668194
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ func TestChangeReplicationPathIfReplicaExists(t *testing.T) {
}
env.ch.Close()
r.NoError(utils.ExecCmd(context.Background(), 180*time.Second, "docker", append(env.GetDefaultComposeCommand(), "restart", "clickhouse")...))
env.connectWithWait(r, 1*time.Second, 1*time.Second, 1*time.Minute)
env.connectWithWait(r, 10*time.Second, 1*time.Second, 1*time.Minute)

var restoreOut string
restoreOut, err = env.DockerExecOut("clickhouse-backup", "clickhouse-backup", "-c", "/etc/clickhouse-backup/config-s3.yml", "restore", "--tables", "default.test_replica_wrong_path*", "test_wrong_path")
Expand Down

0 comments on commit 0668194

Please sign in to comment.