Quellcode durchsuchen

[impala] Raise impala query timeout for live cluster testing

Erick Tryzelaar vor 10 Jahren
Ursprung
Commit
f97e7bc
1 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  1. 3 3
      apps/impala/src/impala/tests.py

+ 3 - 3
apps/impala/src/impala/tests.py

@@ -128,7 +128,7 @@ class TestImpalaIntegration:
     """ % {'db': cls.DATABASE}
 
     resp = _make_query(cls.client, hql, database='default', local=False, server_name='impala')
-    resp = wait_for_query_to_finish(cls.client, resp, max=30.0)
+    resp = wait_for_query_to_finish(cls.client, resp, max=180.0)
 
     hql = """
       CREATE TABLE tweets (row_num INTEGER, id_str STRING, text STRING) STORED AS PARQUET;
@@ -141,7 +141,7 @@ class TestImpalaIntegration:
     """
 
     resp = _make_query(cls.client, hql, database=cls.DATABASE, local=False, server_name='impala')
-    resp = wait_for_query_to_finish(cls.client, resp, max=30.0)
+    resp = wait_for_query_to_finish(cls.client, resp, max=180.0)
 
   @classmethod
   def teardown_class(cls):
@@ -152,7 +152,7 @@ class TestImpalaIntegration:
     DROP DATABASE %(db)s;
     """ % {'db': cls.DATABASE}
     resp = _make_query(cls.client, hql, database='default', local=False, server_name='impala')
-    resp = wait_for_query_to_finish(cls.client, resp, max=30.0)
+    resp = wait_for_query_to_finish(cls.client, resp, max=180.0)
 
     # Check the cleanup
     databases = cls.db.get_databases()