Browse Source

Set a timeout on the shim unit tests; this is hanging in CI on an experimental branch.

Don Porter 6 years ago
parent
commit
96e1f889a3
1 changed files with 7 additions and 5 deletions
  1. 7 5
      Jenkinsfiles/Linux-SGX

+ 7 - 5
Jenkinsfiles/Linux-SGX

@@ -42,12 +42,14 @@ pipeline {
                                 '''
 			}
 			*/
-                        sh '''
-                            cd LibOS/shim/test/regression
-			    make SGX=1
-			    make SGX_RUN=1			    
-                            make SGX_RUN=1 regression
+			timeout(time: 5, unit: 'MINUTES') {		    			
+                            sh '''
+                                cd LibOS/shim/test/regression
+			        make SGX=1
+			        make SGX_RUN=1			    
+                                make SGX_RUN=1 regression
                             '''
+			}    
                         sh '''
                             cd LibOS/shim/test/apps/python
 			    make SGX=1