You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by dp...@apache.org on 2019/08/06 10:50:25 UTC

[ignite-teamcity-bot] 02/02: Show muted and ignored tests mode implementation started, added muted &ignored tests to report

This is an automated email from the ASF dual-hosted git repository.

dpavlov pushed a commit to branch show-muted
in repository https://gitbox.apache.org/repos/asf/ignite-teamcity-bot.git

commit a94170496f776cfe43a619f6f22ee9599390a21f
Author: Dmitriy Pavlov <dp...@apache.org>
AuthorDate: Tue Aug 6 13:50:16 2019 +0300

    Show muted and ignored tests mode implementation started, added muted &ignored tests to report
---
 ignite-tc-helper-web/src/main/webapp/current.html              |  2 +-
 ignite-tc-helper-web/src/main/webapp/js/testfails-2.2.js       | 10 +++++-----
 .../org/apache/ignite/ci/tcbot/issue/IssueDetectorTest.java    |  2 +-
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/ignite-tc-helper-web/src/main/webapp/current.html b/ignite-tc-helper-web/src/main/webapp/current.html
index 828eacc..5045910 100644
--- a/ignite-tc-helper-web/src/main/webapp/current.html
+++ b/ignite-tc-helper-web/src/main/webapp/current.html
@@ -380,7 +380,7 @@ function showData(result) {
                         &nbsp;&nbsp;&nbsp;<span title="Download and parse all logs">Check logs: </span>
                         <input type="checkbox" v-model="checkAllLogs" @change="formChanged">
 
-                        &nbsp;&nbsp;&nbsp;<span>Show test longer than, seconds: </span>
+                        &nbsp;&nbsp;&nbsp;<span>Tests longer than, seconds: </span>
                         <input v-model.number="showTestLongerThan" type="number" @change="formChanged">
                     </td>
 
diff --git a/ignite-tc-helper-web/src/main/webapp/js/testfails-2.2.js b/ignite-tc-helper-web/src/main/webapp/js/testfails-2.2.js
index 03f8353..ab4c0da 100644
--- a/ignite-tc-helper-web/src/main/webapp/js/testfails-2.2.js
+++ b/ignite-tc-helper-web/src/main/webapp/js/testfails-2.2.js
@@ -1033,13 +1033,13 @@ function drawLatestRunsBlock(state, len) {
     else if (state === 3) // CRITICAL failure - incomplete suite
         runColor = "black";
     else if (state === 4) // RES_MISSING(4),  missing in run
-        runColor = "lightgrey";
+        runColor = "#AAAAAA";
     else if (state === 5)   //     RES_OK_MUTED(5),
-        runColor = "rgba(0, 160, 0, 0.3)";
+        runColor = "#44AA44";
     else if (state === 6)  //     RES_FAILURE_MUTED(6),
-        runColor = "rgba(160, 0, 0, 0.3)";
+        runColor = "#AA4444";
     else if (state === 7) //     RES_IGNORED(7);
-        runColor = "rgba(255, 160, 0, 0.3)";
+        runColor = "#F09F00";
 
-    return "<span style='background-color: " + runColor + "; width:" + (len * 1) + "px; height:10px; display: inline-block;'></span>";
+    return "<span style='background-color: " + runColor + ";  width:" + (len * 1) + "px; height:10px; display: inline-block;'></span>";
 }
\ No newline at end of file
diff --git a/ignite-tc-helper-web/src/test/java/org/apache/ignite/ci/tcbot/issue/IssueDetectorTest.java b/ignite-tc-helper-web/src/test/java/org/apache/ignite/ci/tcbot/issue/IssueDetectorTest.java
index 1443ff0..bcd4867 100644
--- a/ignite-tc-helper-web/src/test/java/org/apache/ignite/ci/tcbot/issue/IssueDetectorTest.java
+++ b/ignite-tc-helper-web/src/test/java/org/apache/ignite/ci/tcbot/issue/IssueDetectorTest.java
@@ -85,7 +85,7 @@ public class IssueDetectorTest {
     }
 
     @Test
-    public void testDetector() throws IOException {
+    public void testDetector() {
         String brachName = "masterTest";
         String chainId = TeamcityIgnitedImpl.DEFAULT_PROJECT_ID;
         BranchTracked branch = new BranchTracked();