Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-102633

Add more fault injection checkpoint tests

    • Atlas Streams
    • None
    • 0
    • None
    • None
    • None
    • None
    • None
    • None

      We should add more fault injection checkpoint tests. The tests should:

      • Test a (small) corpus of input, pipeline, and expected output. Test with mongodb and kafka source and sink.
      • Inject faults in key places in operator,source,and sink code.
        • operator-- send data msg
        • sink-- failure in middle of batch
        • source-- failure in between reading doc and updating offsets
      • Validate the output and stats is correct even when faults occur.

      This is similar to what some existing tests do in checkpoint.js.

            Assignee:
            matthew.normyle@mongodb.com Matthew Normyle
            Reporter:
            matthew.normyle@mongodb.com Matthew Normyle
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: