From c792c98ad245139864aac33c2706ce8297a19bfd Mon Sep 17 00:00:00 2001 From: Minimata Date: Tue, 17 Feb 2026 23:08:10 +0100 Subject: [PATCH] fixed a flaky test and let the godot bin be defined by env variable --- .runsettings | 3 --- tests/player_movement/PlayerMovementTest.cs | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.runsettings b/.runsettings index f1ade62c..9fc6baec 100644 --- a/.runsettings +++ b/.runsettings @@ -6,9 +6,6 @@ net8.0;net9.0 180000 true - - D:\Godot\Godot_v4.6-stable_mono_win64\Godot_v4.6-stable_mono_win64\Godot_v4.6-stable_mono_win64.exe - diff --git a/tests/player_movement/PlayerMovementTest.cs b/tests/player_movement/PlayerMovementTest.cs index 115ea2b3..166552da 100644 --- a/tests/player_movement/PlayerMovementTest.cs +++ b/tests/player_movement/PlayerMovementTest.cs @@ -82,7 +82,7 @@ public class PlayerMovementTest var marker = _scene.FindChild(markerName) as Marker3D; AssertObject(marker).IsNotNull(); _player.GlobalPosition = marker!.GlobalPosition; - await _runner.AwaitIdleFrame(); + await _runner.AwaitMillis(100); var startPos = _player.GlobalPosition;