test: update integration test occurrences (#12085)
This commit is contained in:
parent
b3b72aea86
commit
d45c7c44c7
|
|
@ -26,7 +26,7 @@ func TestPgBouncerGeneratesMetricsIntegration(t *testing.T) {
|
|||
Env: map[string]string{
|
||||
"POSTGRES_HOST_AUTH_METHOD": "trust",
|
||||
},
|
||||
WaitingFor: wait.ForLog("database system is ready to accept connections"),
|
||||
WaitingFor: wait.ForLog("database system is ready to accept connections").WithOccurrence(2),
|
||||
}
|
||||
err := backend.Start()
|
||||
require.NoError(t, err, "failed to start container")
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ func TestMariaDBIntegration(t *testing.T) {
|
|||
"/docker-entrypoint-initdb.d": testdata,
|
||||
},
|
||||
WaitingFor: wait.ForAll(
|
||||
wait.ForLog("Buffer pool(s) load completed at"),
|
||||
wait.ForLog("mariadbd: ready for connections.").WithOccurrence(2),
|
||||
wait.ForListeningPort(nat.Port(port)),
|
||||
),
|
||||
}
|
||||
|
|
@ -162,7 +162,7 @@ func TestPostgreSQLIntegration(t *testing.T) {
|
|||
"/docker-entrypoint-initdb.d": testdata,
|
||||
},
|
||||
WaitingFor: wait.ForAll(
|
||||
wait.ForLog("database system is ready to accept connections"),
|
||||
wait.ForLog("database system is ready to accept connections").WithOccurrence(2),
|
||||
wait.ForListeningPort(nat.Port(port)),
|
||||
),
|
||||
}
|
||||
|
|
@ -266,7 +266,7 @@ func TestClickHouseIntegration(t *testing.T) {
|
|||
WaitingFor: wait.ForAll(
|
||||
wait.NewHTTPStrategy("/").WithPort(nat.Port("8123")),
|
||||
wait.ForListeningPort(nat.Port(port)),
|
||||
wait.ForLog("Saved preprocessed configuration to '/var/lib/clickhouse/preprocessed_configs/users.xml'"),
|
||||
wait.ForLog("Saved preprocessed configuration to '/var/lib/clickhouse/preprocessed_configs/users.xml'.").WithOccurrence(2),
|
||||
),
|
||||
}
|
||||
err = container.Start()
|
||||
|
|
|
|||
|
|
@ -143,7 +143,7 @@ func TestIntegration_BasicGathering(t *testing.T) {
|
|||
"/etc/supervisor/supervisord.conf": supervisorConfig,
|
||||
},
|
||||
WaitingFor: wait.ForAll(
|
||||
wait.ForLog("supervisord started with pid"),
|
||||
wait.ForLog("entered RUNNING state").WithOccurrence(6),
|
||||
wait.ForListeningPort(nat.Port(supervisorPort)),
|
||||
),
|
||||
}
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ func TestConnectAndWriteIntegrationSCRAMAuth(t *testing.T) {
|
|||
},
|
||||
WaitingFor: wait.ForAll(
|
||||
wait.NewHTTPStrategy("/").WithPort(nat.Port(servicePort)),
|
||||
wait.ForLog("Waiting for connections"),
|
||||
wait.ForLog("Waiting for connections").WithOccurrence(2),
|
||||
),
|
||||
}
|
||||
err = container.Start()
|
||||
|
|
@ -174,7 +174,7 @@ func TestConnectAndWriteIntegrationX509Auth(t *testing.T) {
|
|||
},
|
||||
WaitingFor: wait.ForAll(
|
||||
wait.NewHTTPStrategy("/").WithPort(nat.Port(servicePort)),
|
||||
wait.ForLog("Waiting for connections"),
|
||||
wait.ForLog("Waiting for connections").WithOccurrence(2),
|
||||
),
|
||||
}
|
||||
err = container.Start()
|
||||
|
|
|
|||
Loading…
Reference in New Issue