You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (StorageLayer.getStorage(process.getProcess()).getType() != STORAGE_TYPE.SQL) {
109
+
if (StorageLayer.getStorage(process.getProcess()).getType() != STORAGE_TYPE.SQL ||
110
+
StorageLayer.isInMemDb(process.getProcess())) {
108
111
return;
109
112
}
110
113
@@ -136,7 +139,10 @@ public void testThatCreationOfNewTenantIsNotAllowedAfterLicenseRemoval() throws
136
139
coreConfig);
137
140
fail();
138
141
} catch (HttpResponseExceptione) {
139
-
assertEquals("Http error. Status Code: 402. Message: Cannot use feature: multi_tenancy, because the license key is missing, or doesn't have this feature enabled.", e.getMessage());
142
+
assertEquals(
143
+
"Http error. Status Code: 402. Message: Cannot use feature: multi_tenancy, because the license " +
144
+
"key is missing, or doesn't have this feature enabled.",
145
+
e.getMessage());
140
146
}
141
147
}
142
148
@@ -196,13 +202,17 @@ public void testThatCoreCanRestartWithAllTheTenantsWithoutLicenseKey() throws Ex
196
202
coreConfig);
197
203
fail();
198
204
} catch (HttpResponseExceptione) {
199
-
assertEquals("Http error. Status Code: 402. Message: Cannot use feature: multi_tenancy, because the license key is missing, or doesn't have this feature enabled.", e.getMessage());
205
+
assertEquals(
206
+
"Http error. Status Code: 402. Message: Cannot use feature: multi_tenancy, because the license " +
207
+
"key is missing, or doesn't have this feature enabled.",
if (StorageLayer.getStorage(process.getProcess()).getType() != STORAGE_TYPE.SQL) {
214
+
if (StorageLayer.getStorage(process.getProcess()).getType() != STORAGE_TYPE.SQL ||
215
+
StorageLayer.isInMemDb(process.getProcess())) {
206
216
return;
207
217
}
208
218
@@ -235,13 +245,17 @@ public void testThatAddingThirdPartyConfigIsNotAllowedAfterLicenseRemoval() thro
235
245
process.getProcess());
236
246
fail();
237
247
} catch (HttpResponseExceptione) {
238
-
assertEquals("Http error. Status Code: 402. Message: Cannot use feature: multi_tenancy, because the license key is missing, or doesn't have this feature enabled.", e.getMessage());
248
+
assertEquals(
249
+
"Http error. Status Code: 402. Message: Cannot use feature: multi_tenancy, because the license " +
250
+
"key is missing, or doesn't have this feature enabled.",
assertEquals("Http error. Status Code: 402. Message: Cannot use feature: multi_tenancy, because the license key is missing, or doesn't have this feature enabled.", e.getMessage());
296
+
assertEquals(
297
+
"Http error. Status Code: 402. Message: Cannot use feature: multi_tenancy, because the license " +
298
+
"key is missing, or doesn't have this feature enabled.",
299
+
e.getMessage());
281
300
}
282
301
}
283
302
@@ -308,7 +327,8 @@ public void testUpdationOfBaseTenantIsAllowedWithoutLicense() throws Exception {
0 commit comments