git tests: clear fields after other tasks in tear down

Otherwise the project can't be teared down correctly,
and dumpToStdOut also doesn't work.
This commit is contained in:
Kirill Likhodedov
2017-02-14 15:13:26 +00:00
parent 3781b61200
commit fc9e05cffa
@@ -73,9 +73,9 @@ abstract class VcsPlatformTest : PlatformTestCase() {
override fun tearDown() {
RunAll().append(ThrowableRunnable
{ waitForPendingTasks() }).append(ThrowableRunnable
{ clearFields(this) }).append(ThrowableRunnable
{ runInEdtAndWait { super@VcsPlatformTest.tearDown() }}).append(ThrowableRunnable
{ if (myAssertionsInTestDetected) TestLoggerFactory.dumpLogToStdout(myTestStartedIndicator) })
{ if (myAssertionsInTestDetected) TestLoggerFactory.dumpLogToStdout(myTestStartedIndicator) }).append(ThrowableRunnable
{ clearFields(this) })
.run()
}