DBZ-1845 Typos in deployment.yaml and code readability
* improve readability * fixed some typos
This commit is contained in:
parent
48816f91be
commit
5cfbaab7a6
@ -845,7 +845,7 @@ public void shouldRegularlyFlushLsn() throws InterruptedException, SQLException
|
||||
|
||||
// Wait max 2 seconds for LSN change
|
||||
try {
|
||||
Awaitility.await().atMost(2, TimeUnit.MINUTES.SECONDS).ignoreExceptions().until(() -> flushLsn.add(getConfirmedFlushLsn(connection)));
|
||||
Awaitility.await().atMost(2, TimeUnit.SECONDS).ignoreExceptions().until(() -> flushLsn.add(getConfirmedFlushLsn(connection)));
|
||||
}
|
||||
catch (ConditionTimeoutException e) {
|
||||
// We do not require all flushes to succeed in time
|
||||
|
@ -43,7 +43,7 @@ spec:
|
||||
tcpSocket:
|
||||
port: 3306
|
||||
timeoutSeconds: 1
|
||||
readinessProbe:
|
||||
readinessProbe:
|
||||
exec:
|
||||
command:
|
||||
- "/bin/sh"
|
||||
@ -51,7 +51,7 @@ spec:
|
||||
- "-c"
|
||||
- "MYSQL_PWD=\"$MYSQL_PASSWORD\" mysql -h 127.0.0.1 -u $MYSQL_USER -D inventory -e 'SELECT 1'"
|
||||
initialDelaySeconds: 5
|
||||
timeoutSeconds": 1
|
||||
timeoutSeconds: 1
|
||||
terminationMessagePolicy: File
|
||||
terminationMessagePath: /dev/termination-log
|
||||
image: 'debezium/example-mysql:latest'
|
||||
|
@ -43,7 +43,7 @@ spec:
|
||||
- "-c"
|
||||
- "PGPASSWORD=${POSTGRESQL_PASSWORD} /usr/bin/psql -w -U ${POSTGRESQL_USER} -d ${POSTGRESQL_DATABASE} -c 'SELECT 1'"
|
||||
initialDelaySeconds: 5
|
||||
timeoutSeconds": 1
|
||||
timeoutSeconds: 1
|
||||
terminationMessagePolicy: File
|
||||
terminationMessagePath: /dev/termination-log
|
||||
image: 'quay.io/debezium/example-postgres-ocp:latest'
|
||||
|
Loading…
Reference in New Issue
Block a user