Browse Source

Set a timeout of 120s on (individual) unit tests

tags/0.6.3m1rc1
Chris Smith 15 years ago
parent
commit
46dd90ec87
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      nbproject/build-impl.xml

+ 2
- 2
nbproject/build-impl.xml View File

@@ -187,7 +187,7 @@ is divided into following sections:
187 187
             <attribute default="${excludes}" name="excludes"/>
188 188
             <attribute default="**" name="testincludes"/>
189 189
             <sequential>
190
-                <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" showoutput="true">
190
+                <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" showoutput="true" timeout="120000">
191 191
                     <classpath>
192 192
                         <pathelement path="${clover.jar}"/>
193 193
                     </classpath>
@@ -647,4 +647,4 @@ is divided into following sections:
647 647
         <!-- You can override this target in the ../build.xml file. -->
648 648
     </target>
649 649
     <target depends="init,deps-clean,-do-clean,-post-clean" description="Clean build products." name="clean"/>
650
-</project>
650
+</project>

Loading…
Cancel
Save