Update the Mariadb config 11/31611/1
authorDeterme, Sebastien (sd378r) <sd378r@intl.att.com>
Tue, 13 Feb 2018 16:25:12 +0000 (17:25 +0100)
committerDeterme, Sebastien (sd378r) <sd378r@intl.att.com>
Tue, 13 Feb 2018 16:25:12 +0000 (17:25 +0100)
Change the mariadb config for integration tests so that it requires less
resources

Issue-ID: CLAMP-129
Change-Id: Ifc071c02a00813a68ba79d0902d7e11da45605fe
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
extra/docker/mariadb/conf1/my.cnf
pom.xml

index 0be1bd7..c6631fb 100644 (file)
@@ -141,10 +141,10 @@ binlog_format=row
 ##innodb_log_group_home_dir = //opt/app/mysql/iblogs
 # You can set .._buffer_pool_size up to 50 - 80 %
 # of RAM but beware of setting memory usage too high
-innodb_buffer_pool_size = 6380M
+innodb_buffer_pool_size = 128M
 #innodb_additional_mem_pool_size = 2M
 # Set .._log_file_size to 25 % of buffer pool size
-innodb_log_file_size = 150M
+innodb_log_file_size = 10M
 innodb_log_files_in_group = 3
 innodb_log_buffer_size = 8M
 #innodb_flush_log_at_trx_commit = 1
@@ -156,7 +156,7 @@ transaction-isolation=READ-COMMITTED
 ####### Galera parameters #######
 ## Galera Provider configuration
 wsrep_provider=/usr/lib/galera/libgalera_smm.so
-wsrep_provider_options="gcache.size=2G; gcache.page_size=1G"
+wsrep_provider_options="gcache.size=128M; gcache.page_size=10M"
 ## Galera Cluster configuration
 wsrep_cluster_name="MSO-automated-tests-cluster"
 wsrep_cluster_address="gcomm://"
@@ -169,7 +169,7 @@ wsrep_sst_method=rsync
 ## Galera Node configuration
 wsrep_node_name="mariadb1"
 ##wsrep_node_address="192.169.3.184"
-wsrep_on=ON
+wsrep_on=OFF
 ## Status notification
 #wsrep_notify_cmd=/opt/app/mysql/bin/wsrep_notify
 #######
diff --git a/pom.xml b/pom.xml
index e11e44e..bb2534d 100644 (file)
--- a/pom.xml
+++ b/pom.xml
                                                                                                                                </volumes>
                                                                                                                                <wait>
                                                                                                                                                <log>socket: '/var/run/mysqld/mysqld.sock'  port: 3306  mariadb.org binary distribution</log>
-                                                                                                                                               <time>1200000</time>
+                                                                                                                                               <time>600000</time>
                                                                                                                                </wait>
                                                                                                                                <ports>
                                                                                                                                                <port>${docker.mariadb.port.host}:3306</port>