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 b14cc36 IGNITE-10562 Fix for tests: TC Bot DB contains invalid values
for build references ID maps to value with other ID.
b14cc36 is described below
commit b14cc36618baaf2dcb0ee02437358d3e21fb9550
Author: Dmitriy Pavlov <[email protected]>
AuthorDate: Thu Dec 6 16:27:11 2018 +0300
IGNITE-10562 Fix for tests: TC Bot DB contains invalid values for build
references ID maps to value with other ID.
---
.../ignite/ci/teamcity/ignited/fatbuild/ProactiveFatBuildSync.java | 3 +++
1 file changed, 3 insertions(+)
diff --git
a/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/teamcity/ignited/fatbuild/ProactiveFatBuildSync.java
b/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/teamcity/ignited/fatbuild/ProactiveFatBuildSync.java
index 52af9fe..36019d6 100644
---
a/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/teamcity/ignited/fatbuild/ProactiveFatBuildSync.java
+++
b/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/teamcity/ignited/fatbuild/ProactiveFatBuildSync.java
@@ -369,6 +369,9 @@ public class ProactiveFatBuildSync {
if(build.isRunning() || build.isQueued())
build.setCancelled();
+ if (build.isFakeStub())
+ build.setCancelled();
+
tests =
Collections.singletonList(existingBuild.getTestOcurrences(compactor));
problems = existingBuild.problems(compactor);