Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions plugin/testing_write.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ type WriterTestSuiteTests struct {
// SkipDeleteStale skips testing message.Delete events.
SkipDeleteStale bool

// SkipDeleteRecord skips testing message.DeleteRecord events.
SkipDeleteRecord bool

// SkipAppend skips testing message.Insert and Upsert=false.
SkipInsert bool

Expand Down Expand Up @@ -149,6 +152,9 @@ func TestWriterSuiteRunner(t *testing.T, p *Plugin, tests WriterTestSuiteTests,
})

t.Run("TestDeleteRecord", func(t *testing.T) {
if suite.tests.SkipDeleteRecord {
t.Skip("skipping " + t.Name())
}
t.Run("Basic", func(t *testing.T) {
suite.testDeleteRecordBasic(ctx)
})
Expand Down