From 445db97867fd032aecfcd753ffb47a9aaa6ada93 Mon Sep 17 00:00:00 2001
From: Martijn van Groningen <martijn.v.groningen@gmail.com>
Date: Mon, 28 Jan 2019 13:55:53 +0100
Subject: [PATCH] each full cluster restart round should use its own
 repository, otherwise snapshots from e.g. 6.5.5 to current and 6.6.0 to
 current full cluster restart round collides.

---
 qa/full-cluster-restart/build.gradle | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/qa/full-cluster-restart/build.gradle b/qa/full-cluster-restart/build.gradle
index 39bec5ac0b3..cd5e836757c 100644
--- a/qa/full-cluster-restart/build.gradle
+++ b/qa/full-cluster-restart/build.gradle
@@ -39,7 +39,7 @@ for (Version version : bwcVersions.indexCompatible) {
   tasks.getByName("${baseName}#oldClusterTestRunner").configure {
     systemProperty 'tests.is_old_cluster', 'true'
     systemProperty 'tests.old_cluster_version', version.toString().minus("-SNAPSHOT")
-    systemProperty 'tests.path.repo', new File(buildDir, "cluster/shared/repo")
+    systemProperty 'tests.path.repo', new File(buildDir, "cluster/shared/repo/" + baseName)
   }
 
   Object extension = extensions.findByName("${baseName}#oldClusterTestCluster")