浏览代码

[LibOS/regression] Longer timeout on large-mmap test

This test uses an 8GB SGX enclave. For low-end machines like
Intel NUC it takes more than 240s to run this test.
Don Porter 5 年之前
父节点
当前提交
3566e31578
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      LibOS/shim/test/regression/test_libos.py

+ 1 - 1
LibOS/shim/test/regression/test_libos.py

@@ -283,7 +283,7 @@ class TC_30_Syscall(RegressionTestCase):
         self.assertIn('mmap test 8 passed', stdout)
 
     def test_52_large_mmap(self):
-        stdout, stderr = self.run_binary(['large-mmap'], timeout=240)
+        stdout, stderr = self.run_binary(['large-mmap'], timeout=480)
 
         # Ftruncate
         self.assertIn('large-mmap: ftruncate OK', stdout)