This is an automated email from the ASF dual-hosted git repository. shenlin pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/rocketmq-eventbridge.git
commit 133ea7eac20c16225bcc2f45c3b6e7be21c6d23e Author: wangkai <wang...@zhongan.com> AuthorDate: Fri Nov 3 16:28:08 2023 +0800 [e2eTest] add e2eTest model --- .../eventbridge/e2etest/controller/ApplicationTagControllerTest.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/rocketmq-eventbridge-e2etest/src/test/java/org/apache/rocketmq/eventbridge/e2etest/controller/ApplicationTagControllerTest.java b/test/rocketmq-eventbridge-e2etest/src/test/java/org/apache/rocketmq/eventbridge/e2etest/controller/ApplicationTagControllerTest.java index e7b743a..416993e 100644 --- a/test/rocketmq-eventbridge-e2etest/src/test/java/org/apache/rocketmq/eventbridge/e2etest/controller/ApplicationTagControllerTest.java +++ b/test/rocketmq-eventbridge-e2etest/src/test/java/org/apache/rocketmq/eventbridge/e2etest/controller/ApplicationTagControllerTest.java @@ -41,6 +41,10 @@ public class ApplicationTagControllerTest extends BaseTest { ResponseEntity<Void> response = Utils.request(template, url, HttpMethod.POST, "A test recrod.", Void.class, headers); Assert.assertTrue(response.getStatusCode().is2xxSuccessful()); File file = new File(System.getProperty("user.home") +"/demo"); + if (!file.exists()) { + file.createNewFile(); + } + String data = null; int retries = 0; while( retries < 10 ) {