mirror of
https://github.com/alibaba/canal.git
synced 2026-11-04 00:30:15 +08:00
abstract canal client test waiting until running == true
This commit is contained in:
@@ -112,6 +112,7 @@ public class AbstractCanalClientTest {
|
|||||||
|
|
||||||
protected void process() {
|
protected void process() {
|
||||||
int batchSize = 5 * 1024;
|
int batchSize = 5 * 1024;
|
||||||
|
while (!running); //waiting until running == true
|
||||||
while (running) {
|
while (running) {
|
||||||
try {
|
try {
|
||||||
MDC.put("destination", destination);
|
MDC.put("destination", destination);
|
||||||
|
|||||||
Reference in New Issue
Block a user