Skip to content

Commit

Permalink
Adding tombstone capability
Browse files Browse the repository at this point in the history
  • Loading branch information
thake committed Nov 18, 2020
1 parent 6e21030 commit 7741899
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ class LongStatementsTest : AbstractCdcSourceIntegrationTest() {
val entries = 100
val updateExecutions = 10
val finished = CountDownLatch(1)
val pollConnection = openConnection()
val cdcSource = getCdcSource(dictionarySource)
Thread {
val conn = openConnection()
conn.prepareStatement(insertStr).use { stmt ->
Expand All @@ -63,9 +65,7 @@ class LongStatementsTest : AbstractCdcSourceIntegrationTest() {
}.start()
//Wait for the initialization
Thread.sleep(2000)
val pollConnection = openConnection()
var totalReturnedResults = 0
val cdcSource = getCdcSource(dictionarySource)
do {
val results = cdcSource.getResults(pollConnection)
assertNotNull(results)
Expand Down

0 comments on commit 7741899

Please sign in to comment.