Changeset 8683


Ignore:
Timestamp:
11 Jun 2012, 14:52:32 (13 years ago)
Author:
uli
Message:

Support ZEO setup when running stress-tests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.stress/trunk/src/waeup/stress/__init__.py

    r8681 r8683  
    8686    if mode == 'kofactl':
    8787        subprocess.call('./bin/kofactl start', shell=True)
     88    elif mode == 'zeo':
     89        os.listdir('./bin')
     90        subprocess.call('./bin/zeo_server start', shell=True)
     91        subprocess.call('./bin/zeo_client1 start', shell=True)
     92        subprocess.call('./bin/zeo_client2 start', shell=True)
    8893    else:
    8994        # by default we start paster as daemon
     
    123128    if mode == 'kofactl':
    124129        subprocess.call('./bin/kofactl stop', shell=True)
     130    elif mode == 'zeo':
     131        subprocess.call('./bin/zeo_client2 stop', shell=True)
     132        subprocess.call('./bin/zeo_client1 stop', shell=True)
     133        subprocess.call('./bin/zeo_server stop', shell=True)
    125134    else:
    126135        # by default we use paster
Note: See TracChangeset for help on using the changeset viewer.