test: make dotnet evidence tests runner portable
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user