Merge pull request #8139 from smatvienko-tb/feature/tests-black-box-cassandra-limits
[3.5] msa black box tests: Cassandra limited to MAX_HEAP_SIZE: 1024M
This commit is contained in:
commit
ebdcda773c
@ -106,6 +106,7 @@ public class ContainerTestSuite {
|
|||||||
new File(targetDir + "docker-compose.yml"),
|
new File(targetDir + "docker-compose.yml"),
|
||||||
new File(targetDir + "docker-compose.volumes.yml"),
|
new File(targetDir + "docker-compose.volumes.yml"),
|
||||||
new File(targetDir + (IS_HYBRID_MODE ? "docker-compose.hybrid.yml" : "docker-compose.postgres.yml")),
|
new File(targetDir + (IS_HYBRID_MODE ? "docker-compose.hybrid.yml" : "docker-compose.postgres.yml")),
|
||||||
|
new File(targetDir + (IS_HYBRID_MODE ? "docker-compose.hybrid-test-extras.yml" : "docker-compose.postgres-test-extras.yml")),
|
||||||
new File(targetDir + "docker-compose.postgres.volumes.yml"),
|
new File(targetDir + "docker-compose.postgres.volumes.yml"),
|
||||||
new File(targetDir + "docker-compose." + QUEUE_TYPE + ".yml"),
|
new File(targetDir + "docker-compose." + QUEUE_TYPE + ".yml"),
|
||||||
new File(targetDir + (IS_REDIS_CLUSTER ? "docker-compose.redis-cluster.yml" : "docker-compose.redis.yml")),
|
new File(targetDir + (IS_REDIS_CLUSTER ? "docker-compose.redis-cluster.yml" : "docker-compose.redis.yml")),
|
||||||
|
|||||||
@ -82,6 +82,9 @@ public class ThingsBoardDbInstaller {
|
|||||||
));
|
));
|
||||||
if (IS_HYBRID_MODE) {
|
if (IS_HYBRID_MODE) {
|
||||||
composeFiles.add(new File("./../../docker/docker-compose.cassandra.volumes.yml"));
|
composeFiles.add(new File("./../../docker/docker-compose.cassandra.volumes.yml"));
|
||||||
|
composeFiles.add(new File("src/test/resources/docker-compose.hybrid-test-extras.yml"));
|
||||||
|
} else {
|
||||||
|
composeFiles.add(new File("src/test/resources/docker-compose.postgres-test-extras.yml"));
|
||||||
}
|
}
|
||||||
|
|
||||||
String identifier = Base58.randomString(6).toLowerCase();
|
String identifier = Base58.randomString(6).toLowerCase();
|
||||||
|
|||||||
@ -0,0 +1,23 @@
|
|||||||
|
#
|
||||||
|
# Copyright © 2016-2023 The Thingsboard Authors
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
#
|
||||||
|
|
||||||
|
version: '3.0'
|
||||||
|
|
||||||
|
services:
|
||||||
|
cassandra:
|
||||||
|
environment:
|
||||||
|
HEAP_NEWSIZE: 128M
|
||||||
|
MAX_HEAP_SIZE: 1024M
|
||||||
@ -0,0 +1,19 @@
|
|||||||
|
#
|
||||||
|
# Copyright © 2016-2023 The Thingsboard Authors
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
#
|
||||||
|
|
||||||
|
version: '3.0'
|
||||||
|
|
||||||
|
# Placeholder
|
||||||
@ -14,7 +14,7 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
#
|
#
|
||||||
|
|
||||||
version: '2.2'
|
version: '3.0'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
rabbitmq:
|
rabbitmq:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user