Changeset 8657


Ignore:
Timestamp:
8 Jun 2012, 15:23:46 (13 years ago)
Author:
uli
Message:

Use new function and clean up a bit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.stress/trunk/kofa01/test_scripts/config.py

    r8654 r8657  
     1import time
    12import waeup.stress
    23#register_url = 'http://localhost:8080/uniben/applicants/putme2012/register'
    34register_url = 'http://localhost:8080/stress_app/@@index'
    45print "RUN SETUP"
    5 waeup.stress.do_foo()
    66
    77instance = 'kofa'
     
    1313waeup.stress.install_app(instance)
    1414
     15## starts an instance as daemon
    1516waeup.stress.start_instance(instance)
     17waeup.stress.wait_for_startup('localhost', 8080) # wait until daemon is up
     18## after starting an instance, we have to wait for the instance to come up
     19#time.sleep(3)
     20
     21## we need a running instance, so leave this commented out.
    1622#waeup.stress.stop_instance(instance)
    17 
Note: See TracChangeset for help on using the changeset viewer.