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() {
|
||||
int batchSize = 5 * 1024;
|
||||
while (!running); //waiting until running == true
|
||||
while (running) {
|
||||
try {
|
||||
MDC.put("destination", destination);
|
||||
|
||||
Reference in New Issue
Block a user