8784: Fix test for latest firefox.
[arvados.git] / services / nodemanager / tests / __init__.py
1 #!/usr/bin/env python
2
3 import logging
4 import os
5
6 # Set the ANMTEST_LOGLEVEL environment variable to enable logging at that level.
7 loglevel = os.environ.get('ANMTEST_LOGLEVEL', 'CRITICAL')
8 logging.basicConfig(level=getattr(logging, loglevel.upper()))
9
10 # Set the ANMTEST_TIMEOUT environment variable to the maximum amount of time to
11 # wait for tested actors to respond to important messages.  The default value
12 # is very conservative, because a small value may produce false negatives on
13 # slower systems.  If you're debugging a known timeout issue, however, you may
14 # want to set this lower to speed up tests.
15 pykka_timeout = int(os.environ.get('ANMTEST_TIMEOUT', '10'))