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

Building master branch fails unit test with timezone error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 0.3.1, 0.4
    • 0.3
    • core-library
    • None

    Description

      When akshathpatkar and I build 0.3.x, we both get:

      shouldAdaptSqlTime(io.debezium.jdbc.TimeZoneAdapterTest)  Time elapsed: 0.011 sec  <<< ERROR!
      java.time.DateTimeException: Invalid value for NanoOfDay (valid values 0 - 86399999999999): 93064777000000
      	at java.time.temporal.ValueRange.checkValidValue(ValueRange.java:311)
      	at java.time.temporal.ChronoField.checkValidValue(ChronoField.java:703)
      	at java.time.LocalTime.ofNanoOfDay(LocalTime.java:376)
      	at io.debezium.jdbc.TimeZoneAdapter.toZonedDateTime(TimeZoneAdapter.java:143)
      	at io.debezium.jdbc.TimeZoneAdapterTest.shouldAdaptSqlTime(TimeZoneAdapterTest.java:64)
      

      I checked master, and it also fails.

      Attachments

        Activity

          People

            rhauch Randall Hauch (Inactive)
            criccomini Chris Riccomini (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: