Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-2232 Intermittent test failures on CI
  3. DBZ-2262

Test failure BinlogReaderIT#shouldFilterAllRecordsBasedOnDatabaseWhitelistFilter()

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • 1.2.0.Final
    • None
    • mysql-connector
    • None

      The most probable reason is the call of io.debezium.connector.mysql.BinlogReaderIT.filterAtLeast(int, long, TimeUnit). It is not guaranteed that all events have not been already filtered when the metrics is read for the first time. To make it correct iti is necessary to

      1) Read the filtered metrics

      2) Generate 35 changes

      3) Compare with expected number

       

      This is the only reliable way

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

                Created:
                Updated:
                Resolved: