@@ -5,7 +5,6 @@ import haxe.display.FsPath;
import haxe.display.Display;
import utest.Assert.*;
-@:timeout(5000)
// TODO: somebody has to clean this up
class ReplaceRanges extends TestCase {
function complete<S, T>(content:String, markerIndex:Int, cb:(response:CompletionResponse<S, T>, markers:Map<Int, Int>) -> Void) {
@@ -8,7 +8,6 @@ import utest.Assert;
using StringTools;
using Lambda;
-@:timeout(10000)
class ServerTests extends TestCase {
function testNoModification() {
vfs.putContent("HelloWorld.hx", getTemplate("HelloWorld.hx"));
@@ -46,10 +46,9 @@ class DisplayTestBuilder {
static function generateInit(field:Field):Expr {
return switch field.doc {
case null:
- macro async.setTimeout(5000);
+ macro {}
case src:
macro {
- async.setTimeout(5000);
_markers = utils.Markers.parse($v{src});
vfs.putContent("Main.hx", markers.source);
}
@@ -37,7 +37,7 @@ class TestBuilder {
var pos = Context.makePosition({min: posInfos.max, max: posInfos.max, file: posInfos.file});
el.push(macro @:pos(pos) $i{asyncName}.done());
f.expr = macro {
- $i{asyncName}.setTimeout(10000);
+ $i{asyncName}.setTimeout(20000);
${transformHaxeCalls(asyncName, el)};
case _: