Use unique non-stable SDK version for comparison test (#17819)
This commit is contained in:
parent
97a31dd18c
commit
4e9256ffb4
1 changed files with 2 additions and 3 deletions
|
@ -56,10 +56,9 @@ public class SourceBuiltArtifactsTests : SdkTests
|
|||
DirectoryInfo sdkDir = new DirectoryInfo(Path.Combine(outputDir, "sdk"));
|
||||
string sdkVersionPath = sdkDir.GetFiles(".version", SearchOption.AllDirectories).Single().FullName;
|
||||
string[] sdkVersionLines = File.ReadAllLines(Path.Combine(outputDir, sdkVersionPath));
|
||||
string expectedSdkVersion = sdkVersionLines[1];
|
||||
string expectedSdkVersion = sdkVersionLines[3]; // Get the unique, non-stable, SDK version
|
||||
|
||||
// Disable due to https://github.com/dotnet/source-build/issues/3693
|
||||
// Assert.Equal(expectedSdkVersion, sdkVersion);
|
||||
Assert.Equal(expectedSdkVersion, sdkVersion);
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue