Integrate ProjectModel server tests
This commit is contained in:
parent
b5de686ba4
commit
f7e4714dc5
20 changed files with 28 additions and 29 deletions
|
@ -9,7 +9,6 @@ using System.Net;
|
|||
using System.Net.Sockets;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Newtonsoft.Json;
|
||||
using Xunit;
|
||||
|
||||
|
@ -34,6 +33,9 @@ namespace Microsoft.DotNet.ProjectModel.Server.Tests
|
|||
|
||||
public DthTestClient(DthTestServer server)
|
||||
{
|
||||
// Avoid Socket exception 10006 on Linux
|
||||
Thread.Sleep(100);
|
||||
|
||||
_socket = new Socket(AddressFamily.InterNetwork,
|
||||
SocketType.Stream,
|
||||
ProtocolType.Tcp);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue