︙ | | |
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
-
-
+
+
+
+
|
# turn off faststart, put monitor.db in MT_RUN_AREA_HOME/db
# and set the dbdir to /var/tmp/$USER/mt_db to enable keeping
# the raw db in /var/tmp/$USER
#
faststart no
monitordir #{getenv MT_RUN_AREA_HOME}/db
# dbdir /var/tmp/#{getenv USER}/mt_db
dbdir #{get setup monitordir}
dbdir #{getenv MT_RUN_AREA_HOME}/db
# sync more aggressively to megatest-db
megatest-db yes
# Set launchwait to no to use the more agressive code that does not wait for the launch to complete before proceeding
# this may save a few milliseconds on launching tests
# launchwait no
waivercommentpatt ^WW\d+ [a-z].*
incomplete-timeout 1
|
︙ | | |
97
98
99
100
101
102
103
104
105
106
107
108
109
110
|
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
|
+
+
+
+
+
+
+
+
|
state start end 0 1 - 2
status pass fail n/a 0 1 running - 2
# These are set before all tests, override them
# in the testconfig [pre-launch-env-overrides] section
[env-override]
ALL_TOPLEVEL_TESTS exit_0 exit_1 ez_exit2_fail ez_fail ez_pass ezlog_fail \
ezlog_fail_then_pass ezlog_pass ezlog_warn lineitem_fail lineitem_pass logpro_required_fail \
manual_example neverrun priority_1 priority_10 priority_10_waiton_1 \
priority_3 priority_4 priority_5 priority_6 priority_7 priority_8 \
priority_9 runfirst singletest singletest2 sqlitespeed test_mt_vars \
ez_fail_quick test1 test2
# This variable is honored by the loadrunner script. The value is in percent
MAX_ALLOWED_LOAD 200
# MT_XTERM_CMD overrides the terminal command
# MT_XTERM_CMD xterm -bg lightgreen -fg black
SPECIAL_ENV_VARS overide them here - should be seen at launch and in the runs
|
︙ | | |
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
|
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
|
+
+
+
+
-
+
-
+
|
MYRUNNAME2 /this/is/[system echo $MT_RUNNAME]/my/runname
# XTERM [system xterm]
# RUNDEAD [system exit 56]
[server]
# force use of server always
required yes
# Use http instead of direct filesystem access
transport http
# transport fs
# transport nmsg
synchronous 0
# If the server can't be started on this port it will try the next port until
# it succeeds
port 9080
# This server will keep running this number of hours after last access.
# Three minutes is 0.05 hours
# timeout 0.025
timeout 0.061
# faststart; unless no, start server but proceed with writes until server started
faststart no
faststart yes
# faststart yes
# Start server when average query takes longer than this
# server-query-threshold 55500
server-query-threshold 100
server-query-threshold 1000
timeout 0.01
# daemonize yes
# hostname #{scheme (get-host-name)}
## disks are:
## name host:/path/to/area
|
︙ | | |
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
|
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
|
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
|
# <testsuite>/<creationdate>
# Within the archive the data is structured like this:
# <target>/<runname>/<test>/
disk0 /tmp/#{getenv USER}/adisk1
# Uncomment these to emulate a job queue with a long time (look in bin/sleeprunner for the time)
[jobtools]
launcher #{scheme (case (string->symbol (conc (getenv "datapath"))) \
((none) "nbfake") \
((openlava) "bsub") \
(else "sleeprunner"))}
# launcher #{ scheme (case (string->symbol (conc (getenv "datapath"))) \
# ((none) "nbfake") \
# ((openlava) "bsub") \
# (else "sleeprunner"))}
# launcher bsub -q priority -o $MT_TEST_RUN_DIR/openlava.log
# launcher #{shell if which bsub > /dev/null;then echo bsub -q priority -o openlava.log;else echo sleeprunner;fi}
launcher nbfake
[configf:settings trim-trailing-spaces yes]
# Override the rollup for specific tests
[testrollup]
runfirst ls
[test]
# VAL1 has trailing spaces
VAL1 Foo
VAL2 ==>#{get test VAL1}Bar<== no spaces between Foo and Bar to pass
ltest #{scheme (case (string->symbol (conc (getenv "datapath"))) \
((none) "nbfake") \
((openlava) "bsub") \
(else "sleeprunner"))}
|