msa black box tests: cassandra limited to MAX_HEAP_SIZE: 1024M
This commit is contained in:
		
							parent
							
								
									80e1ee0a35
								
							
						
					
					
						commit
						f823021ab8
					
				@ -106,6 +106,7 @@ public class ContainerTestSuite {
 | 
			
		||||
                    new File(targetDir + "docker-compose.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-test-extras.yml" : "docker-compose.postgres-test-extras.yml")),
 | 
			
		||||
                    new File(targetDir + "docker-compose.postgres.volumes.yml"),
 | 
			
		||||
                    new File(targetDir + "docker-compose." + QUEUE_TYPE + ".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) {
 | 
			
		||||
            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();
 | 
			
		||||
 | 
			
		||||
@ -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: '2.2'
 | 
			
		||||
 | 
			
		||||
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: '2.2'
 | 
			
		||||
 | 
			
		||||
# Placeholder
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user