()
| 330 | |
| 331 | //We wait up to retry_limit * retry_interval for the test suite to complete |
| 332 | function TestForCompletion() { |
| 333 | if (test_complete && callback) { |
| 334 | callback("Server successfully tested!"); |
| 335 | } else { |
| 336 | if (++retrys < retry_limit) { |
| 337 | setTimeout(TestForCompletion, retry_interval); |
| 338 | } else if (callback) { |
| 339 | callback( |
| 340 | "Server test failed to complete after " + |
| 341 | (retry_limit * retry_interval) / 1000 + |
| 342 | " seconds", |
| 343 | ); |
| 344 | } |
| 345 | } |
| 346 | } |
| 347 | |
| 348 | setTimeout(TestForCompletion, retry_interval); |
| 349 | } |
nothing calls this directly
no test coverage detected