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 2018/10/30 11:05:18 UTC
[ignite-teamcity-bot] branch ignite-9848-3 updated: IGNITE-9848:
Loading builds chain in accordance with fat build approach,
calculate statistics moved to later execute.
This is an automated email from the ASF dual-hosted git repository.
dpavlov pushed a commit to branch ignite-9848-3
in repository https://gitbox.apache.org/repos/asf/ignite-teamcity-bot.git
The following commit(s) were added to refs/heads/ignite-9848-3 by this push:
new 58107fe IGNITE-9848: Loading builds chain in accordance with fat build approach, calculate statistics moved to later execute.
58107fe is described below
commit 58107fecc1a6d1ef94a94e6b4a73ed21c16aa392
Author: Dmitriy Pavlov <dp...@apache.org>
AuthorDate: Tue Oct 30 14:05:17 2018 +0300
IGNITE-9848: Loading builds chain in accordance with fat build approach, calculate statistics moved to later execute.
---
.../java/org/apache/ignite/ci/tcbot/chain/BuildChainProcessor.java | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/tcbot/chain/BuildChainProcessor.java b/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/tcbot/chain/BuildChainProcessor.java
index 5675db2..a1bc02e 100644
--- a/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/tcbot/chain/BuildChainProcessor.java
+++ b/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/tcbot/chain/BuildChainProcessor.java
@@ -252,10 +252,12 @@ public class BuildChainProcessor {
@SuppressWarnings("WeakerAccess")
@AutoProfiling
- protected static void analyzeTests(MultBuildRunCtx outCtx, IAnalyticsEnabledTeamcity teamcity,
+ protected void analyzeTests(MultBuildRunCtx outCtx, IAnalyticsEnabledTeamcity teamcity,
ProcessLogsMode procLog) {
for (SingleBuildRunCtx ctx : outCtx.getBuilds()) {
- teamcity.calculateBuildStatistic(ctx);
+ tcUpdatePool.getService().submit(() -> {
+ teamcity.calculateBuildStatistic(ctx);
+ });
if ((procLog == ProcessLogsMode.SUITE_NOT_COMPLETE && ctx.hasSuiteIncompleteFailure())
|| procLog == ProcessLogsMode.ALL)