Integrate ProjectModel server tests

This commit is contained in:
Troy Dai 2016-02-17 16:49:34 -08:00
parent b5de686ba4
commit f7e4714dc5
20 changed files with 28 additions and 29 deletions

View file

@ -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);