forked from CUBRID/cubrid-testtools
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmedium.conf
More file actions
111 lines (78 loc) · 4.22 KB
/
Copy pathmedium.conf
File metadata and controls
111 lines (78 loc) · 4.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
# Copyright (c) 2016, Search Solution Corporation. All rights reserved.
# --------------------------------------------------------------------
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright notice,
# this list of conditions and the following disclaimer.
#
# * Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in
# the documentation and/or other materials provided with the distribution.
#
# * Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products
# derived from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
# USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# SQL section - a section for CTP tool configuration when executing SQL/MEDIUM testing
[sql]
# The location of your testing scenario
scenario=${HOME}/cubrid-testcases/medium
# Run tests with valgrind (no/yes)
enable_memory_leak=no
# The excluded file list, all directories or files in testcase_exclude_from_file will not be executed by CTP
testcase_exclude_from_file=${CTP_HOME}/conf/exclusions.txt
# Configure an alias name for testing result
test_category=medium
# Config file for I18N client charset configuration and init session parameter via 'set system parameter xxx'
jdbc_config_file=test_default.xml
# Config database charset for db creation
db_charset=en_US
# MEDIUM testing will be executed based on an existing databases, so you must set the data file path for tables data of MEDIUM,
# Please don't configure this parameter when you execute SQL testing
data_file=${HOME}/cubrid-testcases/medium/files/mdb.tar.gz
# If test need do make locale or not
need_make_locale=yes
# SQL cubrid.conf section - a section for cubrid.conf configuration
[sql/cubrid.conf]
# To increase the speed of execution
max_plan_cache_entries=1000
# To increase the speed of execution
unicode_input_normalization=no
# To change port of cubrid_port_id to avoid port conflict
cubrid_port_id=1822
# In order to simulate the scenario customer used
ha_mode=yes
# To reduce the lock wait time to fast testing execution
lock_timeout=10sec
# Allow scenario to change database system parameter
test_mode=yes
# SQL cubrid_ha.conf section - a section for ha related configuration
[sql/cubrid_ha.conf]
# Once ha_mode=yes is configured in cubrid.conf, you will require to configure cubrid_ha.conf except ha_db_list
ha_mode=yes
# To reduce memory use
ha_apply_max_mem_size=300
# To set what port will be used for ha_port_id
ha_port_id=59901
# SQL cubrid_broker.conf query editor section - a section to change parameters under query_editor
[sql/cubrid_broker.conf/%query_editor]
# To close one service to avoid port conflict and reduce configuration complexity
SERVICE=OFF
# SQL cubrid_broker.conf broker1 section - a section to change parameters under broker1
[sql/cubrid_broker.conf/%BROKER1]
# To change broker port to avoid port conflict, if you are sure the port will not conflict, just ignore
BROKER_PORT=33120
# To change ID of shared memory used by CAS, if you are sure the port will not conflict, just ignore
APPL_SERVER_SHM_ID=33120
# SQL cubrid_broker.conf broker section - a section to configure parameters under broker section
[sql/cubrid_broker.conf/broker]
# To change the identifier of shared memory to avoid conflict to cause server start fail
MASTER_SHM_ID=33122