diff --git a/product/ERP5Type/tests/runFunctionalTest.py b/product/ERP5Type/tests/runFunctionalTest.py
index 97c3ce3a2ed8df17219ba9dd54d73dbd25a2a86e..120de1c9c72717f6a65f020476d9d5acda4e57cd 100755
--- a/product/ERP5Type/tests/runFunctionalTest.py
+++ b/product/ERP5Type/tests/runFunctionalTest.py
@@ -133,7 +133,12 @@ class FunctionalTestRunner:
     # (imitating firefox 3.5.9 here)
     headers = { 'Accept-Charset' : 'ISO-8859-1,utf-8;q=0.7,*;q=0.7' }
     request = urllib2.Request(url, headers=headers)
-    f = urllib2.urlopen(request)
+    # Try to use long timeout, this is needed when there is many
+    # activities runing
+    try:
+      f = urllib2.urlopen(request, timeout=3600)
+    except TypeError:
+      f = urllib2.urlopen(request)
     file_content = f.read()
     f.close()
     return file_content