forked from indymedia/epicyon
Stop eve
parent
a01138ecf6
commit
07f5de5648
6
tests.py
6
tests.py
|
@ -310,7 +310,7 @@ def testFollowBetweenServers():
|
||||||
assert thrBob.isAlive()==True
|
assert thrBob.isAlive()==True
|
||||||
assert thrEve.isAlive()==True
|
assert thrEve.isAlive()==True
|
||||||
|
|
||||||
# wait for both servers to be running
|
# wait for all servers to be running
|
||||||
ctr=0
|
ctr=0
|
||||||
while not (testServerAliceRunning and testServerBobRunning and testServerEveRunning):
|
while not (testServerAliceRunning and testServerBobRunning and testServerEveRunning):
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
|
@ -418,6 +418,10 @@ def testFollowBetweenServers():
|
||||||
thrBob.join()
|
thrBob.join()
|
||||||
assert thrBob.isAlive()==False
|
assert thrBob.isAlive()==False
|
||||||
|
|
||||||
|
thrEve.kill()
|
||||||
|
thrEve.join()
|
||||||
|
assert thrEve.isAlive()==False
|
||||||
|
|
||||||
assert os.path.isfile(bobDir+'/accounts/bob@'+bobDomain+'/ocap/accept/'+httpPrefix+':##'+aliceDomain+':'+str(alicePort)+'#users#alice.json')
|
assert os.path.isfile(bobDir+'/accounts/bob@'+bobDomain+'/ocap/accept/'+httpPrefix+':##'+aliceDomain+':'+str(alicePort)+'#users#alice.json')
|
||||||
assert os.path.isfile(aliceDir+'/accounts/alice@'+aliceDomain+'/ocap/granted/'+httpPrefix+':##'+bobDomain+':'+str(bobPort)+'#users#bob.json')
|
assert os.path.isfile(aliceDir+'/accounts/alice@'+aliceDomain+'/ocap/granted/'+httpPrefix+':##'+bobDomain+':'+str(bobPort)+'#users#bob.json')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue