2003-06-26 23:53:37 +00:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
|
|
|
## $Id$
|
|
|
|
|
|
|
|
from test_uc import *
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
|
|
test_msg("scheduler exponential backoff (master url failure)")
|
2003-06-28 00:15:42 +00:00
|
|
|
# Proxy('close_connection if $nconnections < -2; '+
|
|
|
|
# 'kill 6,%d if $nconnections>=100 '%os.getpid(), html=1)
|
|
|
|
# Proxy(('print "hi nc=$nconnections start=$start nchars=$nchars url=$url\n"; ' +
|
|
|
|
# 'close_connection if $nconnections < 2; '),
|
|
|
|
# html=1)
|
|
|
|
Proxy(( 'print "hi nc=$nconnections start=$start nchars=$nchars url=$url\n"; ' +
|
|
|
|
''),
|
|
|
|
html=1)
|
2003-06-26 23:53:37 +00:00
|
|
|
ProjectUC()
|
|
|
|
run_check_all()
|
|
|
|
|
|
|
|
## TODO: verify it took ??? seconds
|
|
|
|
## TODO: time out after ??? seconds and fail this test
|