mirror of
https://github.com/danieldemus/openhab-core.git
synced 2026-07-29 12:34:22 +02:00
Improve SafeCallerImplTest stability (#1130)
After some load testing these values improved the stability of the tests. See: #1113 Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
+3
-3
@@ -54,13 +54,13 @@ public class SafeCallerImplTest extends JavaTest {
|
||||
private static final int THREAD_POOL_SIZE = 3;
|
||||
|
||||
// the duration that the called object should block for
|
||||
private static final int BLOCK = 500;
|
||||
private static final int BLOCK = 1000;
|
||||
|
||||
// the standard timeout for the safe-caller used in most tests
|
||||
private static final int TIMEOUT = 200;
|
||||
private static final int TIMEOUT = 500;
|
||||
|
||||
// the grace period allowed for processing before a timing assertion should fail
|
||||
private static final int GRACE = 100;
|
||||
private static final int GRACE = 300;
|
||||
|
||||
public @Rule TestName name = new TestName();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user