Skip to content

Commit 80a52b5

Browse files
committed
added timeout for open file with test data
1 parent 939795a commit 80a52b5

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

SpatialIndex_Test.xml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,11 @@
2828
<Implementation><![CDATA[
2929
do ..%KillExtent()
3030
do $system.Process.SetZEOF(1)
31-
open filename:"R"
31+
open filename:"R":5
32+
if '$Test {
33+
write "cannot open ", filename,!
34+
quit
35+
}
3236
for {
3337
use filename read line
3438
quit:$ZEOF=-1
@@ -54,8 +58,6 @@
5458
<IndexLocation>^SpatialIndex.TestI</IndexLocation>
5559
<StreamLocation>^SpatialIndex.TestS</StreamLocation>
5660
<Data name="TestDefaultData">
57-
<Structure>listnode</Structure>
58-
<Subscript/>
5961
<Value name="1">
6062
<Value>%%CLASSNAME</Value>
6163
</Value>

0 commit comments

Comments
 (0)