test: make dotnet evidence tests runner portable
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 15s
Validators (Pushes and Pull Requests) / validate-core (push) Failing after 1m23s

This commit is contained in:
2026-07-12 12:40:54 +09:00
parent d49e45b308
commit 521d1c0b3d
5 changed files with 21 additions and 3 deletions
@@ -25,7 +25,9 @@ namespace QuantEngine.Core.Tests
Assert.True(step.ElapsedMilliseconds > 0);
}
var expectedJsonPath = @"C:\Temp\data_feed\Temp\dotnet_pipeline_e2e_v1.json";
var tempRoot = Environment.GetEnvironmentVariable("QE_TEMP_ROOT")
?? Path.Combine(Directory.GetCurrentDirectory(), "Temp");
var expectedJsonPath = Path.Combine(tempRoot, "dotnet_pipeline_e2e_v1.json");
Assert.True(File.Exists(expectedJsonPath));
var jsonContent = File.ReadAllText(expectedJsonPath);