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

Race condition in SQLServer tests during snapshot phase

    XMLWordPrintable

    Details

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            jpechanec Jiri Pechanec
            Reporter:
            jpechanec Jiri Pechanec
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: