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

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

zzzadruga 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_r239347659
 
 

 ##########
 File path: 
ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/tcmodel/mute/MutesCompacted.java
 ##########
 @@ -0,0 +1,62 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.ignite.ci.tcmodel.mute;
+
+import java.util.HashSet;
+import java.util.Set;
+import org.apache.ignite.ci.teamcity.ignited.IStringCompactor;
+import org.apache.ignite.internal.util.typedef.internal.U;
+
+/**
+ * @see Mutes
+ */
+public class MutesCompacted {
+    /** Mutes. */
+    private Set<MuteInfoCompacted> mutes;
+
+    /**
+     * @param mutes Mutes.
+     * @param comp Comparator.
+     */
+    public MutesCompacted(Mutes mutes, IStringCompactor comp) {
+        this(mutes.getMutesNonNull(), comp);
+    }
+
+    /**
+     * @param infos Mute infos.
+     * @param comp Comparator.
+     */
+    public MutesCompacted(Set<MuteInfo> infos, IStringCompactor comp) {
+        mutes = new HashSet<>(U.capacity(infos.size()));
+
+        for (MuteInfo info : infos)
+            mutes.add(new MuteInfoCompacted(info, comp));
+    }
+
+    /**
+     * @param comp Comparator.
 
 Review comment:
   ```suggestion
        * @param comp Compactor.
   ```

----------------------------------------------------------------
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:
us...@infra.apache.org


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