Megatest

Check-in [68f95981bf]
Login
Overview
Comment:Changed some configs for fdktestqa
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | v1.60
Files: files | file ages | folders
SHA1: 68f95981bf66fc1ec94e2fb7d99f816e425c9717
User & Date: matt on 2014-07-23 00:33:57
Other Links: branch diff | manifest | tags
Context
2014-07-23
00:54
Added launch to uses in server.scm, more tweaks to fdktestqa configs check-in: 89ac157423 user: matt tags: v1.60
00:33
Changed some configs for fdktestqa check-in: 68f95981bf user: matt tags: v1.60
2014-07-22
22:00
Merged recent changes from v1.55 and fixed few related bugs check-in: a7e3370085 user: matt tags: v1.60
Changes

Modified tests/fdktestqa/fdk.config from [6c0fedec41] to [a1e1cb0cc3].

1
2
3



4
5
6
7
8
9
10
[fields]
SYSTEM TEXT
RELEASE TEXT




[setup]
# Adjust max_concurrent_jobs to limit how much you load your machines
# max_concurrent_jobs 150
max_concurrent_jobs 500

# This is your link path, you can move it but it is generally better to keep it stable



>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
[fields]
SYSTEM TEXT
RELEASE TEXT

[pre-launch-env-overrides]
MAX_ALLOWED_LOAD 200

[setup]
# Adjust max_concurrent_jobs to limit how much you load your machines
# max_concurrent_jobs 150
max_concurrent_jobs 500

# This is your link path, you can move it but it is generally better to keep it stable

Modified tests/fdktestqa/testqa/Makefile from [3e7d32185f] to [99797f1b40].

26
27
28
29
30
31
32
33
34
dashboard : 
	$(DASHBOARD) -rows 20 &

compile :
	(cd ../../..;make -j && make install)

clean :
	rm -rf ../simple*/*/* megatest.db db/*








|

26
27
28
29
30
31
32
33
34
dashboard : 
	$(DASHBOARD) -rows 20 &

compile :
	(cd ../../..;make -j && make install)

clean :
	rm -rf ../simple*/*/* megatest.db db/* ../simple*/.db/*

Modified tests/fdktestqa/testqa/megatest.config from [3127607cf0] to [3f695b560a].

1
2
3
4
5
6
7
8
9
10
11
[setup]
testcopycmd cp --remove-destination -rlv TEST_SRC_PATH/. TEST_TARG_PATH/. >> TEST_TARG_PATH/mt_launch.log 2>> TEST_TARG_PATH/mt_launch.log
# launchwait no

[jobtools]
launcher loadrunner

[include ../fdk.config]

[server]
port 9080









<
<
1
2
3
4
5
6
7
8
9


[setup]
testcopycmd cp --remove-destination -rlv TEST_SRC_PATH/. TEST_TARG_PATH/. >> TEST_TARG_PATH/mt_launch.log 2>> TEST_TARG_PATH/mt_launch.log
# launchwait no

[jobtools]
launcher loadrunner

[include ../fdk.config]



Modified tests/fullrun/megatest.config from [232c6802d7] to [02c4731a08].

82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
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]

# This variable is honored by the loadrunner script. The value is in percent
# a value of 200 will stop new jobs from starting.
MAX_ALLOWED_LOAD 150

# 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
TESTVAR [system echo $PWD]
DEADVAR [system ls]







<
|







82
83
84
85
86
87
88

89
90
91
92
93
94
95
96
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]

# 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
TESTVAR [system echo $PWD]
DEADVAR [system ls]
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
# If the server can't be started on this port it will try the next port until
# it succeeds
port 8080

# This server will keep running this number of hours after last access. 
# Three minutes is 0.05 hours
# timeout 0.025
timeout 0.025

## disks are:
## name host:/path/to/area
## -or-
## name /path/to/area
[disks]
disk0 /foobarbazz







|







119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
# If the server can't be started on this port it will try the next port until
# it succeeds
port 8080

# This server will keep running this number of hours after last access. 
# Three minutes is 0.05 hours
# timeout 0.025
timeout 0.5

## disks are:
## name host:/path/to/area
## -or-
## name /path/to/area
[disks]
disk0 /foobarbazz

Modified utils/loadrunner from [18bd8142d3] to [ab4b5b8ca7].

43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
    numcpu=2
fi

# NB// max_load is in units of percent.
#
lperc=$(echo "100 * $load / $numcpu"|bc)
lperc2=$(echo "100 * $load2 / $numcpu"|bc)
let lperc2adj="$lperc2 + 0.5"
if [[ "x$MAX_ALLOWED_LOAD" == "x" ]]; then
  max_load=100
else
  max_load=$MAX_ALLOWED_LOAD
fi

lfile=/tmp/loadrunner-$USER.lockfile







|







43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
    numcpu=2
fi

# NB// max_load is in units of percent.
#
lperc=$(echo "100 * $load / $numcpu"|bc)
lperc2=$(echo "100 * $load2 / $numcpu"|bc)
let "lperc2adj=$lperc2 + 1"
if [[ "x$MAX_ALLOWED_LOAD" == "x" ]]; then
  max_load=100
else
  max_load=$MAX_ALLOWED_LOAD
fi

lfile=/tmp/loadrunner-$USER.lockfile