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

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_r239794453
 
 

 ##########
 File path: 
ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/tcmodel/mute/MuteInfo.java
 ##########
 @@ -0,0 +1,74 @@
+/*
+ * 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 javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+
+/**
+ *
+ */
+@XmlRootElement(name = "mute")
+@XmlAccessorType(XmlAccessType.FIELD)
+public class MuteInfo {
+    /** Id. */
+    @XmlAttribute public int id;
+
+    /** Assignment. */
+    @XmlElement public MuteAssignment assignment;
+
+    /** Scope. */
+    @XmlElement public MuteScope scope;
+
+    /** Target. */
+    @XmlElement public MuteTarget target;
+
+    /** {@inheritDoc} */
+    @Override public boolean equals(Object o) {
+        if (this == o)
+            return true;
+
+        if (o == null || getClass() != o.getClass())
+            return false;
+
+        MuteInfo info = (MuteInfo)o;
+
+        if (id != info.id)
+            return false;
+
+        if (assignment != null ? !assignment.equals(info.assignment) : 
info.assignment != null)
+            return false;
+
+        if (scope != null ? !scope.equals(info.scope) : info.scope != null)
+            return false;
+
+        return target != null ? target.equals(info.target) : info.target == 
null;
+    }
+
+    /** {@inheritDoc} */
+    @Override public int hashCode() {
 
 Review comment:
    I suggest using autogen hashcode: 
       @Override public int hashCode() {
           return Objects.hashCode(login, avatarUrl);
       }

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