DBZ-1362 Comment

This commit is contained in:
Gunnar Morling 2019-07-01 09:34:01 +02:00
parent b546dc886e
commit a02daae3c1
2 changed files with 2 additions and 0 deletions

View File

@ -431,6 +431,7 @@ private void sendCurrentRecord(BlockingConsumer<ChangeEvent> consumer) throws In
consumer.accept(new ChangeEvent(record, sourceInfo.lsn()));
}
// test-only
boolean isStreamingRunning() {
return streamProducer.isPresent() && streamProducer.get().isStreamingRunning();
}

View File

@ -683,6 +683,7 @@ private Table tableFromFromMessage(List<ReplicationMessage.Column> columns, Tabl
return combinedTable.create();
}
// test-only
boolean isStreamingRunning() {
return replicationStream.get() != null;
}