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

Build fails with incorrect time zone offset check

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 0.3.5, 0.4
    • 0.3.4
    • mysql-connector
    • None

    Description

      The following test has started to fail now that DST has ended:

      Failed tests: 
        MySqlConnectorRegressionIT.shouldConsumeAllEventsFromDatabaseUsingSnapshot:537->lambda$shouldConsumeAllEventsFromDatabaseUsingSnapshot$2:608 expected:<1[7]> but was:<1[6]>
      

      I believe the problem is that the date we're inserting into the database is during daylight savings time, but if the time zone where the tests are being run is no longer in DST, then there is an hour difference compared to what's expected in the test.

      Attachments

        Activity

          People

            rhauch Randall Hauch (Inactive)
            rhauch Randall Hauch (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: