You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2020/09/07 01:22:48 UTC

[GitHub] [skywalking-agent-test-tool] EvanLjp commented on a change in pull request #23: fix the field named isError is no mapping when serialization

EvanLjp commented on a change in pull request #23:
URL: https://github.com/apache/skywalking-agent-test-tool/pull/23#discussion_r484141895



##########
File path: validator/src/main/java/org/apache/skywalking/plugin/test/agent/tool/validator/entity/SegmentForRead.java
##########
@@ -176,8 +176,8 @@ public void setComponentName(String componentName) {
             this.componentName = componentName;
         }
 
-        public void setError(String error) {
-            isError = error;
+        public void setIsError(String isError) {
+            this.isError = isError;

Review comment:
       Yesterday, I found the error status is not a valid option. After I run the unit test, the status is like the following:
   ![image](https://user-images.githubusercontent.com/31562192/92339985-3f684400-f0eb-11ea-9d40-cd403d77d0dd.png)
   




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org