Skip to content

Commit 88957b6

Browse files
增加个别测试异步等待时间
1 parent 4c0d02b commit 88957b6

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

test/common/iServer/GetFeaturesByGeometryServiceSpec.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ describe('testGetFeaturesByGeometryService_processAsync',function(){
6565
getFeaturesByGeometryParameters.destroy();
6666
done();
6767
}
68-
},2000);
68+
},4000);
6969
});
7070

7171
//直接返回结果情况
@@ -98,7 +98,7 @@ describe('testGetFeaturesByGeometryService_processAsync',function(){
9898
getFeaturesByGeometryParameters.destroy();
9999
done();
100100
}
101-
},2000);
101+
},4000);
102102
});
103103

104104
//具有attributeFilter直接返回结果情况
@@ -131,7 +131,7 @@ describe('testGetFeaturesByGeometryService_processAsync',function(){
131131
getFeaturesByGeometryParameters.destroy();
132132
done();
133133
}
134-
},2000);
134+
},4000);
135135
});
136136

137137
//测试没有传入参数时的情况
@@ -162,7 +162,7 @@ describe('testGetFeaturesByGeometryService_processAsync',function(){
162162
getFeaturesByGeometryParameters.destroy();
163163
done();
164164
}
165-
},2000);
165+
},4000);
166166
});
167167

168168
//查询目标图层不存在情况
@@ -195,6 +195,6 @@ describe('testGetFeaturesByGeometryService_processAsync',function(){
195195
getFeaturesByGeometryParameters.destroy();
196196
done();
197197
}
198-
},2000);
198+
},4000);
199199
});
200200
});

test/common/iServer/SurfaceAnalystServiceSpec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ describe('testSurfaceAnalystService_processAsync', function () {
166166
expect(false).toBeTruthy();
167167
done();
168168
}
169-
}, 2000);
169+
}, 10000);
170170
});
171171

172172
//对象提取等值面

0 commit comments

Comments
 (0)