for the autommated tester, make the delay_call timeouts ~3 times
as long -- presumably, the tests are less 'interactive', so the longer wait doesn't hurt anyone, and this should help prevent failures due to timeouts.l git-svn-id: http://svn.openlayers.org/trunk/openlayers@5486 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -698,7 +698,7 @@ Test.AnotherWay._test_object_t.prototype.delay_call=function()
|
|||||||
var timeout_ms=200;
|
var timeout_ms=200;
|
||||||
for( var i=0; i<arguments.length; ++i ) {
|
for( var i=0; i<arguments.length; ++i ) {
|
||||||
if( typeof( arguments[i] )!="function" ) {
|
if( typeof( arguments[i] )!="function" ) {
|
||||||
timeout_ms=1000*arguments[i];
|
timeout_ms=3000*arguments[i];
|
||||||
}else {
|
}else {
|
||||||
var action={ action_kind: "call", call_delay_milliseconds: timeout_ms, call_fn: arguments[i] };
|
var action={ action_kind: "call", call_delay_milliseconds: timeout_ms, call_fn: arguments[i] };
|
||||||
this.delay_total_milliseconds_left+=Test.AnotherWay._action_estimate_milliseconds( action );
|
this.delay_total_milliseconds_left+=Test.AnotherWay._action_estimate_milliseconds( action );
|
||||||
|
|||||||
Reference in New Issue
Block a user