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 55b6b2e  IGNITE-12010: Bug fix after change: newly contributed test as 
blocker if it runs more that 1 minute
55b6b2e is described below

commit 55b6b2e87e73fb6052e99d8fbb4cd813c9aba4e0
Author: Dmitriy Pavlov <[email protected]>
AuthorDate: Wed Jul 24 21:54:21 2019 +0300

    IGNITE-12010: Bug fix after change: newly contributed test as blocker if it 
runs more that 1 minute
---
 .../main/java/org/apache/ignite/tcbot/engine/pr/PrChainsProcessor.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/tcbot-engine/src/main/java/org/apache/ignite/tcbot/engine/pr/PrChainsProcessor.java
 
b/tcbot-engine/src/main/java/org/apache/ignite/tcbot/engine/pr/PrChainsProcessor.java
index 23b1cc5..ce34dcc 100644
--- 
a/tcbot-engine/src/main/java/org/apache/ignite/tcbot/engine/pr/PrChainsProcessor.java
+++ 
b/tcbot-engine/src/main/java/org/apache/ignite/tcbot/engine/pr/PrChainsProcessor.java
@@ -288,7 +288,8 @@ public class PrChainsProcessor {
         String normalizedBaseBranch = RunHistSync.normalizeBranch(baseBranch);
         Integer baseBranchId = 
compactor.getStringIdIfPresent(normalizedBaseBranch);
 
-        Predicate<MultBuildRunCtx> filter = suite -> 
suite.hasTestToReport(tcIgnited, baseBranchId);
+        Predicate<MultBuildRunCtx> filter = suite ->
+            suite.isFailed() || suite.hasTestToReport(tcIgnited, baseBranchId);
 
         return fullChainRunCtx
             .filteredChildSuites(filter)

Reply via email to