diff --git a/test/nodes/decorators/time_limiter_test.gd b/test/nodes/decorators/time_limiter_test.gd index 18ef5b12..e7a016bf 100644 --- a/test/nodes/decorators/time_limiter_test.gd +++ b/test/nodes/decorators/time_limiter_test.gd @@ -35,7 +35,7 @@ func before_test() -> void: func test_return_failure_when_child_exceeds_time_limiter() -> void: - time_limiter.wait_time = 0.3 + time_limiter.wait_time = 0.1 action.status = BeehaveNode.RUNNING await runner.simulate_frames(1, 10) assert_that(tree.tick()).is_equal(BeehaveNode.RUNNING) @@ -44,7 +44,7 @@ func test_return_failure_when_child_exceeds_time_limiter() -> void: func test_reset_when_child_finishes() -> void: - time_limiter.wait_time = 1.0 + time_limiter.wait_time = 0.5 action.status = BeehaveNode.RUNNING await runner.simulate_frames(1, 10) assert_that(tree.tick()).is_equal(BeehaveNode.RUNNING) @@ -54,7 +54,7 @@ func test_reset_when_child_finishes() -> void: func test_clear_running_child_after_run() -> void: - time_limiter.wait_time = 1.0 + time_limiter.wait_time = 0.2 action.status = BeehaveNode.RUNNING await runner.simulate_frames(1) assert_that(time_limiter.running_child).is_equal(action)