DBZ-1845 Typos in deployment.yaml and code readability

* improve readability
* fixed some typos
This commit is contained in:
Jan-Hendrik Dolling 2020-03-04 08:34:55 +01:00 committed by GitHub
parent 48816f91be
commit 5cfbaab7a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -845,7 +845,7 @@ public void shouldRegularlyFlushLsn() throws InterruptedException, SQLException
// Wait max 2 seconds for LSN change // Wait max 2 seconds for LSN change
try { 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) { catch (ConditionTimeoutException e) {
// We do not require all flushes to succeed in time // We do not require all flushes to succeed in time

View File

@ -43,7 +43,7 @@ spec:
tcpSocket: tcpSocket:
port: 3306 port: 3306
timeoutSeconds: 1 timeoutSeconds: 1
readinessProbe: readinessProbe:
exec: exec:
command: command:
- "/bin/sh" - "/bin/sh"
@ -51,7 +51,7 @@ spec:
- "-c" - "-c"
- "MYSQL_PWD=\"$MYSQL_PASSWORD\" mysql -h 127.0.0.1 -u $MYSQL_USER -D inventory -e 'SELECT 1'" - "MYSQL_PWD=\"$MYSQL_PASSWORD\" mysql -h 127.0.0.1 -u $MYSQL_USER -D inventory -e 'SELECT 1'"
initialDelaySeconds: 5 initialDelaySeconds: 5
timeoutSeconds": 1 timeoutSeconds: 1
terminationMessagePolicy: File terminationMessagePolicy: File
terminationMessagePath: /dev/termination-log terminationMessagePath: /dev/termination-log
image: 'debezium/example-mysql:latest' image: 'debezium/example-mysql:latest'

View File

@ -43,7 +43,7 @@ spec:
- "-c" - "-c"
- "PGPASSWORD=${POSTGRESQL_PASSWORD} /usr/bin/psql -w -U ${POSTGRESQL_USER} -d ${POSTGRESQL_DATABASE} -c 'SELECT 1'" - "PGPASSWORD=${POSTGRESQL_PASSWORD} /usr/bin/psql -w -U ${POSTGRESQL_USER} -d ${POSTGRESQL_DATABASE} -c 'SELECT 1'"
initialDelaySeconds: 5 initialDelaySeconds: 5
timeoutSeconds": 1 timeoutSeconds: 1
terminationMessagePolicy: File terminationMessagePolicy: File
terminationMessagePath: /dev/termination-log terminationMessagePath: /dev/termination-log
image: 'quay.io/debezium/example-postgres-ocp:latest' image: 'quay.io/debezium/example-postgres-ocp:latest'