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

Race condition in SQLServer tests during snapshot phase

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Blocker Blocker
    • 0.9.0.CR1
    • None
    • sqlserver-connector
    • None

      SQL Server tests make an implicit assumption that snapshot phase is completed before records are written to the database for streaming phase testing. This is not the case in slow environments (Travis) or with unfortunate timing. We need to add explicit wait for snapshot completion.
      The snapshot at the beginning records max LSN - it is not guranteed though that the test data are not written before the LSN is recorded.

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

                Created:
                Updated:
                Resolved: