add --crawl-log-dir option to fix failing test

This commit is contained in:
Noah Levitt 2017-11-09 11:21:42 -08:00
parent 5c18054d37
commit 42f5e9b7a4

View File

@ -253,7 +253,8 @@ def warcprox_(request, rethinkdb_servers, rethinkdb_big_table):
'--method-filter=POST', '--method-filter=POST',
'--port=0', '--port=0',
'--playback-port=0', '--playback-port=0',
'--onion-tor-socks-proxy=localhost:9050'] '--onion-tor-socks-proxy=localhost:9050',
'--crawl-log-dir=crawl-logs']
if rethinkdb_servers: if rethinkdb_servers:
rethinkdb_db = 'warcprox_test_%s' % ''.join(random.sample("abcdefghijklmnopqrstuvwxyz0123456789_",8)) rethinkdb_db = 'warcprox_test_%s' % ''.join(random.sample("abcdefghijklmnopqrstuvwxyz0123456789_",8))
argv.append('--rethinkdb-servers=%s' % rethinkdb_servers) argv.append('--rethinkdb-servers=%s' % rethinkdb_servers)