From c58a190b12535bdcfc984b1be8b72a6a2c84a2a8 Mon Sep 17 00:00:00 2001 From: Raphaƫl Barrois Date: Sun, 12 Apr 2015 12:20:53 +0200 Subject: mongoengine: allow tuning the server timeout. So that it doesn't fail on ci... --- tests/test_mongoengine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/test_mongoengine.py b/tests/test_mongoengine.py index c0a019c..1cf0cb5 100644 --- a/tests/test_mongoengine.py +++ b/tests/test_mongoengine.py @@ -61,7 +61,7 @@ class MongoEngineTestCase(unittest.TestCase): db_name = os.environ.get('MONGO_DATABASE', 'factory_boy_test') db_host = os.environ.get('MONGO_HOST', 'localhost') db_port = int(os.environ.get('MONGO_PORT', '27017')) - MONGOD_TIMEOUT_MS = 100 + server_timeout_ms = int(os.environ.get('MONGO_TIMEOUT', '300')) @classmethod def setUpClass(cls): -- cgit v1.2.3