Browse Source

[tests] increased timings in test #10567 to avoid rounding errors upon time checks in EventLoop

Aleksandr Kuzmenko 3 years ago
parent
commit
46096c3a08
1 changed files with 3 additions and 3 deletions
  1. 3 3
      tests/threads/src/cases/TestEvents.hx

+ 3 - 3
tests/threads/src/cases/TestEvents.hx

@@ -14,9 +14,9 @@ class TestEvents extends utest.Test {
 			events.cancel(e1);
 			events.cancel(e2);
 			events.cancel(e3);
-		}, 2);
-		e1 = events.repeat(() -> checks.push(1), 1);
-		e3 = events.repeat(() -> checks.push(3), 3);
+		}, 20);
+		e1 = events.repeat(() -> checks.push(1), 10);
+		e3 = events.repeat(() -> checks.push(3), 30);
 		Sys.sleep(0.1);
 
 		var checker = null;