reduce timeout

This commit is contained in:
Alexey Kudravtsev
2016-03-18 12:06:16 +03:00
parent e006e8cc7f
commit ea3053fa49
@@ -1,5 +1,5 @@
/*
* Copyright 2000-2015 JetBrains s.r.o.
* Copyright 2000-2016 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -121,7 +121,7 @@ public class ConsoleViewImplTest extends LightPlatformTestCase {
UIUtil.dispatchAllInvocationEvents(); // flush 2-nd clear request
while (console.hasDeferredOutput()) {
UIUtil.dispatchAllInvocationEvents();
TimeoutUtil.sleep(5);
TimeoutUtil.sleep(1);
}
assertEquals("Test", console.getText());
}