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/03 17:50:55 UTC

[ignite-teamcity-bot] branch master updated: Fix test history not sorted bug

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 2d2d35b  Fix test history not sorted bug
2d2d35b is described below

commit 2d2d35b3858bd815361efccdd160fe4ebffef856
Author: Dmitriy Pavlov <dp...@apache.org>
AuthorDate: Sat Aug 3 20:49:49 2019 +0300

    Fix test history not sorted bug
---
 .../main/java/org/apache/ignite/tcignited/build/SuiteHistory.java   | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/tcbot-teamcity-ignited/src/main/java/org/apache/ignite/tcignited/build/SuiteHistory.java b/tcbot-teamcity-ignited/src/main/java/org/apache/ignite/tcignited/build/SuiteHistory.java
index e1cfb98..9d5f0e8 100644
--- a/tcbot-teamcity-ignited/src/main/java/org/apache/ignite/tcignited/build/SuiteHistory.java
+++ b/tcbot-teamcity-ignited/src/main/java/org/apache/ignite/tcignited/build/SuiteHistory.java
@@ -43,9 +43,11 @@ public class SuiteHistory implements ISuiteRunHistory {
     }
 
     private void finalizeInvocations() {
-        suiteHist.sort();
-
         //todo add missing status to tests
+        //  testsHistory.values().registerMissing(suiteHist.buildIds());
+
+        suiteHist.sort();
+        testsHistory.values().forEach(RunHistCompacted::sort);
     }
 
     public int size(Ignite ignite) {