Changeset 8681 for main/waeup.stress/trunk/kofa01
- Timestamp:
- 11 Jun 2012, 13:24:39 (13 years ago)
- Location:
- main/waeup.stress/trunk/kofa01
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.stress/trunk/kofa01/config.cfg
r8673 r8681 10 10 kofa_instance = kofa 11 11 kofa_baseport = 8080 12 12 kofa_instance_mode = paster 13 13 14 14 [user_group-1] -
main/waeup.stress/trunk/kofa01/post_run.py
r8672 r8681 1 ## Actions to do after test runs. 1 """Script run after tests have been done. 2 3 This script is run with some additional globals set: 4 5 - project_name: The name of this project (dir) 6 - cmd_opts: Commandline args from stress-run invocation 7 Includes the stresstest-project directory. 8 - cfg_opts: options as set in local config.cfg. 9 10 Context Python is normally the version used when running bootstrap on 11 the waeup.stress package. 12 """ 2 13 import waeup.stress 3 14 4 instance = 'kofa' 15 instance=cfg_opts['instance'] 16 mode = cfg_opts['instance_mode'] 5 17 6 waeup.stress.stop_instance(instance) 7 waeup.stress.configure() 18 waeup.stress.stop_instance(instance, mode=mode) -
main/waeup.stress/trunk/kofa01/pre_run.py
r8675 r8681 14 14 15 15 instance=cfg_opts['instance'] 16 mode = cfg_opts['instance_mode'] 17 16 18 print "PRE-RUN.PY: using instance: waeup.%s" % instance 17 19 … … 23 25 24 26 ## starts an instance as daemon 25 waeup.stress.start_instance(instance )27 waeup.stress.start_instance(instance, mode=mode) 26 28 ## wait for instance to come up 27 29 waeup.stress.wait_for_startup(cfg_opts['host'], int(cfg_opts['baseport']))
Note: See TracChangeset for help on using the changeset viewer.