Fix test runner behaviour when test fails

This commit is contained in:
Alexey Andreev 2016-12-04 20:53:23 +03:00
parent 730d3f3070
commit ec3b88f77a

View File

@ -127,13 +127,11 @@ class TestRunner {
} }
} }
run.getCallback().error(new AssertionError(exception + "\n" + stack)); run.getCallback().error(new AssertionError(exception + "\n" + stack));
run.getCallback().complete();
break; break;
} }
} }
} catch (Exception e) { } catch (Exception e) {
run.getCallback().error(e); run.getCallback().error(e);
run.getCallback().complete();
} }
} }
} }