wu-sheng commented on a change in pull request #4843:
URL: https://github.com/apache/skywalking/pull/4843#discussion_r432943637
##########
File path:
test/e2e/e2e-test/src/test/java/org/apache/skywalking/e2e/storage/StorageE2E.java
##########
@@ -156,6 +165,47 @@ void serviceInstanceTopo() throws Exception {
verifyServiceInstanceRelationMetrics(topology.getCalls());
}
+ @RetryableTest
+ void addUITemplate() throws Exception {
+ TemplateChangeStatus templateChangeStatus = graphql.addTemplate(
+ new DashboardSetting()
+ .name("test-ui-config-1")
+ .active(true)
+ .configuration("{}")
+ .type(TemplateType.DASHBOARD)
+ );
+ LOGGER.info("{}", templateChangeStatus);
+ Assertions.assertTrue(templateChangeStatus.isStatus());
Review comment:
I think we should verify through the `queryAll`. Status could be fake :)
----------------------------------------------------------------
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]