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

Travis jobs tests are failing due to Postgres

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Critical
    • 0.6.1
    • None
    • build-infrastructure
    • None

    Description

      A lot of Travis runs are now failing due to timing problems with Postgres image start.

      Example

      shouldReceiveChangesForUpdatesWithColumnChanges(io.debezium.connector.postgresql.RecordsStreamProducerIT)  Time elapsed: 0.008 sec  <<< ERROR!
      org.postgresql.util.PSQLException: FATAL: the database system is starting up
      	at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:438)
      	at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:222)
      	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:162)
      	at io.debezium.jdbc.JdbcConnection.connection(JdbcConnection.java:567)
      	at io.debezium.jdbc.JdbcConnection.readAllSchemaNames(JdbcConnection.java:617)
      	at io.debezium.connector.postgresql.TestHelper.schemaNames(TestHelper.java:114)
      	at io.debezium.connector.postgresql.TestHelper.dropAllSchemas(TestHelper.java:101)
      	at io.debezium.connector.postgresql.RecordsStreamProducerIT.before(RecordsStreamProducerIT.java:49)
      

      We need to make postgres image startup detection reliable.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: