Sfoglia il codice sorgente

[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 anni fa
parent
commit
3566e31578
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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)