You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Update Jit Trace Integration Test (#8152)
* initial commit
* Update common.props
* removing threshold parameter
* removing requirement for release branch for Release Verification Test
* more information log
* more descriptive log
* fixing to be release only, adding other test to unit tests per Pragna
* moving test back to JitPreparesTest
* testing per-test release trait
* moving to % of failures for windows and file size for Linux
* Update common.props
Testing theory.
* Ok! They have to be different names!
* Update common.props
* Update common.props
@@ -33,5 +32,18 @@ public void ColdStart_JitFailuresTest(string fileName, double threshold)
33
32
// using 1% as approximate number of allowed failures before we need to regenrate a new PGO file.
34
33
Assert.True(failurePercentage<threshold,$"Number of failed PGOs are more than {threshold} percent! Current number of failures are {failedPrepares}. This will definitely impact cold start! Time to regenrate PGOs and update the {fileName} file!");
Assert.True(file.Exists,$"Expected PGO file '{file.FullName}' does not exist. The file was either renamed or deleted.");
45
+
varlineCount=File.ReadAllLines(path).Length;
46
+
Assert.True(lineCount>6500,$"Jit Trace file line count of {lineCount} for {fileName} is less than 6500 lines! There is likely a bug removing lines from the linux trace.");
0 commit comments