ningyougang edited a comment on pull request #4940:
URL: https://github.com/apache/openwhisk/pull/4940#issuecomment-672734096


   There has one test case run failed: `Wsk actions should update an action via 
passing delAnnotations`,
   
   I tried to find the root reason but failed, below is my steps of find  the 
reason
   
   for delete annotation, in my local, 
   I executed below command using my debug enviroment
   
![image](https://user-images.githubusercontent.com/11749867/89993232-f8885980-dcb8-11ea-9da7-038fd76ea760.png)
   
   after click idea's `Run`, we can see it passed  `delAnnotation` via body 
like below
   
![image](https://user-images.githubusercontent.com/11749867/89993095-caa31500-dcb8-11ea-9d58-33910f2be801.png)
   
   But for my test case in this pr:  `Wsk actions should update an action via 
passing delAnnotations`
   I print the body like below
   
![image](https://user-images.githubusercontent.com/11749867/89993525-6e8cc080-dcb9-11ea-9683-f0b884e4fb81.png)
   It seems the param `delAnnotations` passed correctly.
   But finally, the test case run failed
   
![image](https://user-images.githubusercontent.com/11749867/89993645-9da33200-dcb9-11ea-95d7-4337467fc023.png)
   
   two key error log is:
   * TestFailedException: HTTP request or response did not match the Swagger 
spec.
   * Object instance has properties which are not allowed by the schema: 
["delAnnotations"]: []
   
   Someone konws the reason?
   


----------------------------------------------------------------
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:
[email protected]


Reply via email to