You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2022/09/28 08:09:21 UTC
[skywalking-agent-test-tool] branch master updated: exit 0 when verify success (#45)
This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-agent-test-tool.git
The following commit(s) were added to refs/heads/master by this push:
new 7dbdf72 exit 0 when verify success (#45)
7dbdf72 is described below
commit 7dbdf726bdd12b67f09b3898bb95790eacbedf84
Author: zhyyu <zh...@gmail.com>
AuthorDate: Wed Sep 28 16:09:15 2022 +0800
exit 0 when verify success (#45)
Co-authored-by: yuzhongyu <yu...@cestc.cn>
---
.../src/main/java/org/apache/skywalking/plugin/test/agent/tool/Main.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/validator/src/main/java/org/apache/skywalking/plugin/test/agent/tool/Main.java b/validator/src/main/java/org/apache/skywalking/plugin/test/agent/tool/Main.java
index ba6f8e7..7c6842c 100644
--- a/validator/src/main/java/org/apache/skywalking/plugin/test/agent/tool/Main.java
+++ b/validator/src/main/java/org/apache/skywalking/plugin/test/agent/tool/Main.java
@@ -50,6 +50,7 @@ public class Main {
try {
DataAssert.assertEquals(expectedData, actualData);
log.info("{} assert successful.", "segment items");
+ return true;
} catch (AssertFailedException e) {
log.error(
"assert failed:\nexpected data: {}\nactual data: {}\ncause by: {}",