rohityadavcloud commented on code in PR #7379:
URL: https://github.com/apache/cloudstack/pull/7379#discussion_r1162647822


##########
test/integration/smoke/test_annotations.py:
##########
@@ -135,6 +136,12 @@ def test_01_add_annotation(self):
         self.addAnnotation("annotation1", self.host.id, "HOST")
         self.assertEqual(self.added_annotations[-1].annotation.annotation, 
"annotation1")
 
+    @attr(tags=["devcloud", "advanced", "advancedns", "smoke", "basic", "sg"], 
required_hardware="false")
+    def test_01_add_ms_annotation(self):
+        """Testing the addAnnotations API ability to add an annoatation per 
management server"""
+        self.addAnnotation("annotation1", self.mgmt_server.id, 
"MANAGEMENT_SERVER")
+        self.assertEqual(self.added_annotations[-1].annotation.annotation, 
"annotation1")

Review Comment:
   the added annotation is the same, maybe we can be unique about the comment 
here, for example:
   
   ```suggestion
           self.addAnnotation("mgmt-server-annotation1", self.mgmt_server.id, 
"MANAGEMENT_SERVER")
           self.assertEqual(self.added_annotations[-1].annotation.annotation, 
"mgmt-server-annotation1")
   ```



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

Reply via email to