File tree 1 file changed +4
-2
lines changed
org.jacoco.ant.test/src/org/jacoco/ant
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 28
28
</java >
29
29
</jacoco : coverage >
30
30
31
- <waitfor maxwait =" 1 " maxwaitunit =" second" checkevery =" 10" checkeveryunit =" millisecond" >
31
+ <waitfor maxwait =" 60 " maxwaitunit =" second" checkevery =" 10" checkeveryunit =" millisecond" timeoutproperty = " timeout " >
32
32
<socket server =" localhost" port =" 6300" />
33
33
</waitfor >
34
+ <fail message =" Server startup timeout." if =" timeout" />
34
35
</target >
35
36
36
37
<target name =" tearDown" >
37
38
<touch file =" ${term.file}" />
38
- <waitfor maxwait =" 5 " maxwaitunit =" second" checkevery =" 10" checkeveryunit =" millisecond" >
39
+ <waitfor maxwait =" 60 " maxwaitunit =" second" checkevery =" 10" checkeveryunit =" millisecond" timeoutproperty = " timeout " >
39
40
<not >
40
41
<socket server =" localhost" port =" 6300" />
41
42
</not >
42
43
</waitfor >
44
+ <fail message =" Server shutdown timeout." if =" timeout" />
43
45
<delete dir =" ${temp.dir}" quiet =" false" failonerror =" true" />
44
46
</target >
45
47
You can’t perform that action at this time.
0 commit comments