healchow commented on a change in pull request #3081:
URL: https://github.com/apache/incubator-inlong/pull/3081#discussion_r825251373
##########
File path:
inlong-dataproxy/dataproxy-source/src/test/java/org/apache/inlong/dataproxy/sink/TestPulsarSink.java
##########
@@ -84,13 +102,13 @@ public void testProcess() throws InterruptedException,
EventDeliveryException,
transaction.commit();
transaction.close();
- for (int i = 0; i < 5; i++) {
- Sink.Status status = sink.process();
- Assert.assertEquals(Sink.Status.READY, status);
- }
-
- sink.stop();
- Assert.assertTrue(LifecycleController.waitForOneOf(sink,
- LifecycleState.STOP_OR_ERROR, 5000));
+// for (int i = 0; i < 5; i++) {
Review comment:
Remove those unused codes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]