Skip to content

Change xUnit RunspaceTests to run sequentially #8796

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 30, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Temporarily skipping randomly failing test
  • Loading branch information
PaulHigin committed Jan 30, 2019
commit 5ea5781c85dd46204540b664824d6ed5dc2ccb72
5 changes: 4 additions & 1 deletion test/xUnit/csharp/test_Runspace.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,12 @@ public void TestRunspaceWithPowerShell()
}
}

[Fact]
[SkippableFact]
public void TestRunspaceWithPowerShellAndInitialSessionState()
{
// Temporarily skipping because test fails randomly fairly often
Skip.IfNot(false);

// CreateDefault2 is intentional.
InitialSessionState iss = InitialSessionState.CreateDefault();

Expand Down