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

Unstable tests for PostgreSQL

XMLWordPrintable

      There are two unstable tests in postgresql that are failing frequently

      [ERROR] Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 14.92 s <<< FAILURE! - in io.debezium.connector.postgresql.PostgresMetricsIT
      [ERROR] testStreamingOnlyMetrics(io.debezium.connector.postgresql.PostgresMetricsIT)  Time elapsed: 2.414 s  <<< FAILURE!
      java.lang.AssertionError: Expected Snapshot Metrics to not exist
      	at io.debezium.connector.postgresql.PostgresMetricsIT.testStreamingOnlyMetrics(PostgresMetricsIT.java:132)
      

      This looks like a timing issue

      The other is

      [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.857 s <<< FAILURE! - in io.debezium.connector.postgresql.TransactionMetadataIT
      [ERROR] transactionMetadata(io.debezium.connector.postgresql.TransactionMetadataIT)  Time elapsed: 2.615 s  <<< ERROR!
      org.apache.kafka.connect.errors.DataException: transaction is not a valid field name
      	at io.debezium.connector.postgresql.TransactionMetadataIT.transactionMetadata(TransactionMetadataIT.java:87)
      

      here the problem might be an additionl or out of order event

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

                Created:
                Updated:
                Resolved: