Skip to content

[cdc] Add missing @Test to CdcActionCommonUtilsTest#testRejectSinkConfiguration - #10735

Open
sharanggupta wants to merge 1 commit into
apache:masterfrom
sharanggupta:fix-missing-test-annotation-cdc-utils
Open

sharanggupta wants to merge 1 commit into
apache:masterfrom
sharanggupta:fix-missing-test-annotation-cdc-utils

Conversation

@sharanggupta

Copy link
Copy Markdown

Purpose

testRejectSinkConfiguration was added in #9871 without @Test, so JUnit never ran it, and the check that rejects per-table sink.* options in CdcActionCommonUtils.parseTableConfigByTable had no test. This adds the annotation.

Tests

CdcActionCommonUtilsTest now runs 3 tests instead of 2, all passing. The test fails if the sink. check is removed.

…figuration

The test was added in apache#9871 without the @test annotation, so JUnit never
ran it and the check that rejects per-table sink.* options had no test
coverage.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant