Skip to content

Status of the project & tests failing #8

Description

@bonesoul

I wanted the give a try to the project but getting some tests failing, is this an issue on my part?

System.Net.Sockets.SocketExceptionOnly one usage of each socket address (protocol/network address/port) is normally permitted
   at LibuvSharp.Ensure.Success(Int32 errorCode, Loop loop) in Ensure.cs: line 50
   at LibuvSharp.PipeListener.Bind(String name) in Pipe.cs: line 35
   at LibuvSharp.Tests.PipeFixture.OneSideCloseTest(String name) in PipeFixture.cs: line 160
   at LibuvSharp.Tests.PipeFixture.OneSideClose() in PipeFixture.cs: line 148

System.Net.Sockets.SocketExceptionOnly one usage of each socket address (protocol/network address/port) is normally permitted
   at LibuvSharp.Ensure.Success(Int32 errorCode, Loop loop) in Ensure.cs: line 50
   at LibuvSharp.PipeListener.Bind(String name) in Pipe.cs: line 35
   at LibuvSharp.Tests.PipeFixture.SimpleTest(String name) in PipeFixture.cs: line 25
   at LibuvSharp.Tests.PipeFixture.Simple() in PipeFixture.cs: line 13

Xunit.Sdk.EqualExceptionAssert.Equal() Failure
Expected: 3
Actual:   0
   at LibuvSharp.Tests.PipeFixture.StressTest(String name) in PipeFixture.cs: line 133
   at LibuvSharp.Tests.PipeFixture.Stress() in PipeFixture.cs: line 81

LibuvSharp.UVExceptionENOTCONN(31): socket is not connected
   at LibuvSharp.Ensure.Success(Int32 errorCode, Loop loop) in Ensure.cs: line 50
   at LibuvSharp.UVStream.Resume() in UVStream.cs: line 81
   at LibuvSharp.Tests.ProcessFixture.ProcessSpawnTest(String command, Action`1 callback) in ProcessFixture.cs: line 50
   at LibuvSharp.Tests.ProcessFixture.ProcessSpawn() in ProcessFixture.cs: line 66

Xunit.Sdk.TrueExceptionAssert.True() Failure
   at LibuvSharp.Tests.TcpFixture.PeerAndSockname() in TcpFixture.cs: line 303

System.Net.Sockets.SocketExceptionOnly one usage of each socket address (protocol/network address/port) is normally permitted
   at LibuvSharp.Ensure.Success(Int32 errorCode, Loop loop) in Ensure.cs: line 50
   at LibuvSharp.Listener`1.Listen(Int32 backlog) in Listener.cs: line 28
   at LibuvSharp.Listener`1.Listen() in Listener.cs: line 33
   at LibuvSharp.Tests.TcpFixture.SimpleTest(IPEndPoint ep) in TcpFixture.cs: line 41
   at LibuvSharp.Tests.TcpFixture.Simple() in TcpFixture.cs: line 15

Xunit.Sdk.EqualExceptionAssert.Equal() Failure
Position: First difference is at position 20
Expected: PINGPINGPINGPINGPINGPINGPINGPINGPINGPING
Actual:   PINGPINGPINGPINGPING
   at LibuvSharp.Tests.TcpFixture.<>c__DisplayClass16.<>c__DisplayClass18.<StressTest>b__e(String str) in TcpFixture.cs: line 107
   at LibuvSharp.IUVStreamExtensions.<>c__DisplayClass1.<Read>b__0(ArraySegment`1 data) in IUVStreamExtensions.cs: line 10
   at LibuvSharp.UVStream.OnData(ArraySegment`1 data) in UVStream.cs: line 140
   at LibuvSharp.UVStream.read_callback(IntPtr stream, IntPtr size) in UVStream.cs: line 115
   at LibuvSharp.UVStream.read_callback_w(IntPtr stream, IntPtr size, WindowsBufferStruct buf) in UVStream.cs: line 99
   at LibuvSharp.Loop.uv_run(LoopSafeHandle loop, uv_run_mode mode)
   at LibuvSharp.Loop.<Run>b__2() in Loop.cs: line 146
   at LibuvSharp.Loop.RunGuard(Action action) in Loop.cs: line 127
   at LibuvSharp.Loop.Run() in Loop.cs: line 146
   at LibuvSharp.Tests.TcpFixture.StressTest(IPEndPoint ep) in TcpFixture.cs: line 136
   at LibuvSharp.Tests.TcpFixture.Stress() in TcpFixture.cs: line 85

Xunit.Sdk.NotEqualExceptionAssert.NotEqual() Failure
   at LibuvSharp.Tests.ThreadingFixture.LoopBlocking() in ThreadingFixture.cs: line 20

Xunit.Sdk.TrueExceptionAssert.True() Failure
   at LibuvSharp.Tests.TimerFixture.Simple(Int32 times, Int32 spawn) in TimerFixture.cs: line 26

Xunit.Sdk.TrueExceptionAssert.True() Failure
   at LibuvSharp.Tests.TimerFixture.Simple(Int32 times, Int32 spawn) in TimerFixture.cs: line 26

Xunit.Sdk.TrueExceptionAssert.True() Failure
   at LibuvSharp.Tests.TimerFixture.Simple(Int32 times, Int32 spawn) in TimerFixture.cs: line 26

Xunit.Sdk.EqualExceptionAssert.Equal() Failure
Expected: 2
Actual:   0
   at LibuvSharp.Tests.UdpFixture.RunTest(IPEndPoint ep) in UdpFixture.cs: line 62
   at LibuvSharp.Tests.UdpFixture.Run() in UdpFixture.cs: line 13

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions