Skip to content

Commit 5b34630

Browse files
authored
Mute flaky test on windows (#106)
* Mute flaky test on windows
1 parent 2ed1576 commit 5b34630

4 files changed

Lines changed: 1 addition & 42 deletions

File tree

Rubjerg.Graphviz.Test/CGraphBasicOperations.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ public void TestNodeMerge()
101101
[Test()]
102102
public void TestEdgeContraction()
103103
{
104-
//NativeMethods.AllocConsole();
105104
RootGraph root = Utils.CreateUniqueTestGraph();
106105
Node tail = root.GetOrAddNode("x");
107106
Node head = root.GetOrAddNode("xx");

Rubjerg.Graphviz.Test/TestDotLayout.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ private static void CreateSimpleTestGraph(out RootGraph root, out Node nodeA, ou
2828
}
2929

3030
[Test()]
31+
[Platform(Exclude = "Win", Reason = "Flaky on Windows")]
3132
public void TestLayoutMethodsWithoutLayout()
3233
{
3334
CreateSimpleTestGraph(out RootGraph root, out Node nodeA, out Edge edge);

Rubjerg.Graphviz/FFI/NativeMethods.cs

Lines changed: 0 additions & 37 deletions
This file was deleted.

Rubjerg.Graphviz/Rubjerg.Graphviz.csproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,6 @@
3333
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
3434
</PropertyGroup>
3535

36-
<PropertyGroup Condition=" '$(OS)' == 'Windows_NT' ">
37-
<DefineConstants>_WINDOWS</DefineConstants>
38-
</PropertyGroup>
39-
4036
<ItemGroup>
4137
<None Include="Resources/*" Exclude="Resources/graphviz/**">
4238
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>

0 commit comments

Comments
 (0)