Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-245

Test PostgresConnectorIT.shouldSupportSSLParameters is incorrect

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 0.5.1
    • 0.5
    • postgresql-connector
    • None

      The test is passing but assertions are probably incorrect as the log contains exception

      May 09, 2017 8:19:13 AM org.postgresql.Driver connect
      SEVERE: Connection error: 
      org.postgresql.util.PSQLException: Invalid sslmode value: REQUIRED
      	at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:101)
      	at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)
      	at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:194)
      	at org.postgresql.Driver.makeConnection(Driver.java:431)
      	at org.postgresql.Driver.connect(Driver.java:247)
      	at io.debezium.jdbc.JdbcConnection.lambda$patternBasedFactory$1(JdbcConnection.java:160)
      	at io.debezium.jdbc.JdbcConnection.connection(JdbcConnection.java:565)
      	at io.debezium.jdbc.JdbcConnection.query(JdbcConnection.java:380)
      	at io.debezium.jdbc.JdbcConnection.query(JdbcConnection.java:342)
      	at io.debezium.connector.postgresql.connection.PostgresConnection.serverInfo(PostgresConnection.java:208)
      	at io.debezium.connector.postgresql.PostgresConnectorTask.start(PostgresConnectorTask.java:81)
      	at io.debezium.embedded.EmbeddedEngine.run(EmbeddedEngine.java:626)
      	at io.debezium.embedded.AbstractConnectorTest.lambda$start$3(AbstractConnectorTest.java:298)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      

              jpechane Jiri Pechanec
              jpechane Jiri Pechanec
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: