[ 
https://issues.apache.org/jira/browse/IGNITE-10454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16712824#comment-16712824
 ] 

ASF GitHub Bot commented on IGNITE-10454:
-----------------------------------------

dspavlov commented on a change in pull request #89: IGNITE-10454 Create page 
with muted tests
URL: https://github.com/apache/ignite-teamcity-bot/pull/89#discussion_r239798519
 
 

 ##########
 File path: 
ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/web/rest/tracked/GetTrackedBranchTestResults.java
 ##########
 @@ -140,4 +145,31 @@ public TestFailuresSummary 
getAllTestFailsNoCache(@Nullable @QueryParam("branch"
 
         return tbProc.getTrackedBranchTestFailures(branchOpt, checkAllLogs, 
cntLimit, creds);
     }
+
+    /**
+     * @param srvId Server id.
+     * @param projectId Project id.
+     * @return Mutes for given server-project pair.
+     */
+    @GET
+    @Path("mutes")
+    public Set<MuteInfo> mutes(
+        @Nullable @QueryParam("serverId") String srvId,
+        @Nullable @QueryParam("projectId") String projectId
+    ) {
+        ICredentialsProv creds = ICredentialsProv.get(req);
+
+        if (F.isEmpty(srvId))
+            srvId = "apache";
+
+        if (F.isEmpty(projectId))
+            projectId = "IgniteTests24Java8";
 
 Review comment:
   Probably we can create method returning default suite for a server. 
Something similar to recently merged #90 and getContributionStatus() - contains 
iteration on tracked branches. We can extract it as a separate method. This 
change we can do in a standalone PR, but anyway, please consider it as well.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> [TC Bot] Create page with muted tests
> -------------------------------------
>
>                 Key: IGNITE-10454
>                 URL: https://issues.apache.org/jira/browse/IGNITE-10454
>             Project: Ignite
>          Issue Type: Task
>            Reporter: Ryabov Dmitrii
>            Assignee: Ryabov Dmitrii
>            Priority: Major
>
> We need a page with muted tests. On this page we should have possibility to 
> filter tests by fail reason (fail with ticket link or not) and fail rate.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to