Formatted document and added bug numbers
This commit is contained in:
parent
d1f5802c87
commit
ae7fae0bce
|
|
@ -17,7 +17,7 @@ namespace E2ETests
|
||||||
var iisExpressPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ProgramFilesX86), "IIS Express", "iisexpress.exe");
|
var iisExpressPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ProgramFilesX86), "IIS Express", "iisexpress.exe");
|
||||||
|
|
||||||
// Get path to 64 bit of IIS Express
|
// Get path to 64 bit of IIS Express
|
||||||
if(architecture == KreArchitecture.x64)
|
if (architecture == KreArchitecture.x64)
|
||||||
{
|
{
|
||||||
iisExpressPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles), "IIS Express", "iisexpress.exe");
|
iisExpressPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles), "IIS Express", "iisexpress.exe");
|
||||||
|
|
||||||
|
|
@ -57,7 +57,7 @@ namespace E2ETests
|
||||||
{
|
{
|
||||||
string applicationPath = Path.GetFullPath(Path.Combine(Environment.CurrentDirectory, APP_RELATIVE_PATH));
|
string applicationPath = Path.GetFullPath(Path.Combine(Environment.CurrentDirectory, APP_RELATIVE_PATH));
|
||||||
//Tweak the %PATH% to the point to the right KREFLAVOR
|
//Tweak the %PATH% to the point to the right KREFLAVOR
|
||||||
Environment.SetEnvironmentVariable("PATH", SwitchPathToKreFlavor(kreFlavor,kreArchitecture));
|
Environment.SetEnvironmentVariable("PATH", SwitchPathToKreFlavor(kreFlavor, kreArchitecture));
|
||||||
var backupKreDefaultLibPath = Environment.GetEnvironmentVariable("KRE_DEFAULT_LIB");
|
var backupKreDefaultLibPath = Environment.GetEnvironmentVariable("KRE_DEFAULT_LIB");
|
||||||
//To avoid the KRE_DEFAULT_LIB of the test process flowing into Helios, set it to empty
|
//To avoid the KRE_DEFAULT_LIB of the test process flowing into Helios, set it to empty
|
||||||
Environment.SetEnvironmentVariable("KRE_DEFAULT_LIB", string.Empty);
|
Environment.SetEnvironmentVariable("KRE_DEFAULT_LIB", string.Empty);
|
||||||
|
|
@ -116,7 +116,7 @@ namespace E2ETests
|
||||||
return hostProcess;
|
return hostProcess;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static string SwitchPathToKreFlavor(KreFlavor kreFlavor,KreArchitecture kreArchitecture)
|
private static string SwitchPathToKreFlavor(KreFlavor kreFlavor, KreArchitecture kreArchitecture)
|
||||||
{
|
{
|
||||||
var pathValue = Environment.GetEnvironmentVariable("PATH");
|
var pathValue = Environment.GetEnvironmentVariable("PATH");
|
||||||
Console.WriteLine();
|
Console.WriteLine();
|
||||||
|
|
|
||||||
|
|
@ -22,9 +22,12 @@ namespace E2ETests
|
||||||
[InlineData(ServerType.Helios, KreFlavor.CoreClr, KreArchitecture.x86, "http://localhost:5001/")]
|
[InlineData(ServerType.Helios, KreFlavor.CoreClr, KreArchitecture.x86, "http://localhost:5001/")]
|
||||||
[InlineData(ServerType.WebListener, KreFlavor.CoreClr, KreArchitecture.x86, "http://localhost:5002/")]
|
[InlineData(ServerType.WebListener, KreFlavor.CoreClr, KreArchitecture.x86, "http://localhost:5002/")]
|
||||||
[InlineData(ServerType.Kestrel, KreFlavor.CoreClr, KreArchitecture.x86, "http://localhost:5004/")]
|
[InlineData(ServerType.Kestrel, KreFlavor.CoreClr, KreArchitecture.x86, "http://localhost:5004/")]
|
||||||
[InlineData(ServerType.Helios, KreFlavor.CoreClr, KreArchitecture.x64, "http://localhost:5001/")]
|
|
||||||
[InlineData(ServerType.WebListener, KreFlavor.DesktopClr, KreArchitecture.x64, "http://localhost:5002/")]
|
[InlineData(ServerType.WebListener, KreFlavor.DesktopClr, KreArchitecture.x64, "http://localhost:5002/")]
|
||||||
[InlineData(ServerType.Kestrel, KreFlavor.CoreClr, KreArchitecture.x64, "http://localhost:5004/")]
|
// Uncomment Core CLR on x64 after following bugs are resolved
|
||||||
|
// https://github.com/aspnet/Identity/issues/157
|
||||||
|
// https://github.com/aspnet/Mvc/issues/846
|
||||||
|
//[InlineData(ServerType.Helios, KreFlavor.CoreClr, KreArchitecture.x64, "http://localhost:5001/")]
|
||||||
|
//[InlineData(ServerType.Kestrel, KreFlavor.CoreClr, KreArchitecture.x64, "http://localhost:5004/")]
|
||||||
public void SmokeTestSuite(ServerType hostType, KreFlavor kreFlavor, KreArchitecture architecture, string applicationBaseUrl)
|
public void SmokeTestSuite(ServerType hostType, KreFlavor kreFlavor, KreArchitecture architecture, string applicationBaseUrl)
|
||||||
{
|
{
|
||||||
Console.WriteLine("Variation Details : HostType = {0}, KreFlavor = {1}, Architecture = {2}, applicationBaseUrl = {3}", hostType, kreFlavor, architecture, applicationBaseUrl);
|
Console.WriteLine("Variation Details : HostType = {0}, KreFlavor = {1}, Architecture = {2}, applicationBaseUrl = {3}", hostType, kreFlavor, architecture, applicationBaseUrl);
|
||||||
|
|
@ -32,9 +35,9 @@ namespace E2ETests
|
||||||
// Check if processor architecture is x64, else ship test
|
// Check if processor architecture is x64, else ship test
|
||||||
if (architecture == KreArchitecture.x64 && !Environment.Is64BitOperatingSystem)
|
if (architecture == KreArchitecture.x64 && !Environment.Is64BitOperatingSystem)
|
||||||
{
|
{
|
||||||
Console.WriteLine("Skipping x64 test since machine is of type x86");
|
Console.WriteLine("Skipping x64 test since machine is of type x86");
|
||||||
Assert.True(true);
|
Assert.True(true);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
var testStartTime = DateTime.Now;
|
var testStartTime = DateTime.Now;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue