Skip to content

Commit 4ef5bad

Browse files
committed
Do not deploy tenant manager when it is already available
1 parent 0cdc8d2 commit 4ef5bad

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

integration-tests/src/test/java/io/apicurio/deployment/SqlDeploymentManager.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
import io.apicurio.tenantmanager.client.TenantManagerClientImpl;
2424
import io.apicurio.tests.ApicurioRegistryBaseIT;
2525
import io.apicurio.tests.dbupgrade.sql.SqlAvroUpgraderIT;
26+
import io.apicurio.tests.dbupgrade.sql.SqlProtobufCanonicalHashUpgraderIT;
2627
import io.apicurio.tests.dbupgrade.sql.SqlReferencesUpgraderIT;
2728
import io.apicurio.tests.dbupgrade.sql.SqlStorageUpgradeIT;
2829
import io.apicurio.tests.dbupgrade.UpgradeTestsDataInitializer;
@@ -79,7 +80,7 @@ private static void prepareSqlDbUpgradeTests(String registryImage) throws Except
7980
deleteRegistryDeployment();
8081

8182
//The Registry version 2.3 is deployed, the version introducing artifact references.
82-
prepareTestsInfra(null, APPLICATION_2_3_SQL_RESOURCES, false, null, true);
83+
prepareTestsInfra(null, APPLICATION_2_3_SQL_RESOURCES, false, null, false);
8384
prepareSqlReferencesMigrationData();
8485

8586
//Once the references data is ready, we delete this old deployment and finally the current one is deployed.
@@ -127,6 +128,7 @@ private static void prepareSqlMigrationData(String tenantManagerUrl, String regi
127128
UpgradeTestsDataInitializer.prepareAvroCanonicalHashUpgradeData(tenantUpgradeClient.client);
128129

129130
SqlStorageUpgradeIT.upgradeTenantClient = tenantUpgradeClient.client;
131+
SqlProtobufCanonicalHashUpgraderIT.upgradeTenantClient = tenantUpgradeClient.client;
130132
SqlAvroUpgraderIT.upgradeTenantClient = tenantUpgradeClient.client;
131133
SqlReferencesUpgraderIT.upgradeTenantClient = tenantUpgradeClient.client;
132134
}

0 commit comments

Comments
 (0)