fixed a flaky test and let the godot bin be defined by env variable
Some checks failed
Create tag and build when new code gets to main / BumpTag (push) Successful in 18s
Create tag and build when new code gets to main / Test (push) Failing after 7m4s
Create tag and build when new code gets to main / Export (push) Successful in 7m53s

This commit is contained in:
2026-02-17 23:08:10 +01:00
parent 74876a9a5d
commit c792c98ad2
2 changed files with 1 additions and 4 deletions

View File

@@ -6,9 +6,6 @@
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
<TestSessionTimeout>180000</TestSessionTimeout>
<TreatNoTestsAsError>true</TreatNoTestsAsError>
<EnvironmentVariables>
<GODOT_BIN>D:\Godot\Godot_v4.6-stable_mono_win64\Godot_v4.6-stable_mono_win64\Godot_v4.6-stable_mono_win64.exe</GODOT_BIN>
</EnvironmentVariables>
</RunConfiguration>
<LoggerRunSettings>

View File

@@ -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;