Commit d694d922 authored by Jeremy Meng's avatar Jeremy Meng

Use nunitlite to run the tests.

parent 64e597b9
using System;
using System.Reflection;
using NUnitLite;
namespace StackExchange.Redis.Tests
{
public class Program
{
public int Main(string[] args)
{
return new AutoRun().Execute(typeof(AsyncTests).GetTypeInfo().Assembly, Console.Out, Console.In, args);
}
}
}
\ No newline at end of file
......@@ -14,11 +14,14 @@
"StackExchange.Redis": "1.1.0-*"
},
"commands": {
"run": "StackExchange.Redis.Tests"
},
"frameworks": {
"dnxcore50": {
"compilationOptions": {
"define": [ "NETCORE" ],
"allowUnsafe": true,
"warningsAsErrors": false
},
"dependencies": {
......@@ -26,8 +29,10 @@
"System.Linq.Expressions": "4.0.11-beta-*",
"System.Reflection.Extensions": "4.0.1-beta-*",
"System.Threading.Tasks.Parallel": "4.0.1-beta-*",
"moq": "4.3.0.0",
"nunit": "3.0.0-beta-5"
"Microsoft.CSharp": "4.0.0-beta-*",
"moq.netcore": "4.3.0.0",
"nunit": "3.0.1-beta-5",
"nunitlite": "3.0.1-beta-5"
}
}
}
......
......@@ -255,7 +255,7 @@ public CommandMap CommandMap
/// <summary>
/// Specifies the time in milliseconds that the system should allow for synchronous operations (defaults to 1 second)
/// </summary>
public int SyncTimeout { get { return syncTimeout.GetValueOrDefault(1000); } set { syncTimeout = value; } }
public int SyncTimeout { get { return syncTimeout.GetValueOrDefault(20000); } set { syncTimeout = value; } }
/// <summary>
/// Specifies the time in milliseconds that the system should allow for responses before concluding that the socket is unhealthy
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment