Last change
on this file since 11150 was
8681,
checked in by uli, 12 years ago
|
Consider instance mode when starting/stopping instances.
|
File size:
527 bytes
|
Rev | Line | |
---|
[8681] | 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 | """ |
---|
[8654] | 13 | import waeup.stress |
---|
| 14 | |
---|
[8681] | 15 | instance=cfg_opts['instance'] |
---|
| 16 | mode = cfg_opts['instance_mode'] |
---|
[8654] | 17 | |
---|
[8681] | 18 | waeup.stress.stop_instance(instance, mode=mode) |
---|
Note: See
TracBrowser for help on using the repository browser.