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,20 +14,25 @@ ...@@ -14,20 +14,25 @@
"StackExchange.Redis": "1.1.0-*" "StackExchange.Redis": "1.1.0-*"
}, },
"commands": {
"run": "StackExchange.Redis.Tests"
},
"frameworks": { "frameworks": {
"dnxcore50": { "dnxcore50": {
"compilationOptions": { "compilationOptions": {
"define": [ "NETCORE" ], "define": [ "NETCORE" ],
"allowUnsafe": true,
"warningsAsErrors": false "warningsAsErrors": false
}, },
"dependencies": { "dependencies": {
"System.Console": "4.0.0-beta-*", "System.Console": "4.0.0-beta-*",
"System.Linq.Expressions": "4.0.11-beta-*", "System.Linq.Expressions": "4.0.11-beta-*",
"System.Reflection.Extensions": "4.0.1-beta-*", "System.Reflection.Extensions": "4.0.1-beta-*",
"System.Threading.Tasks.Parallel": "4.0.1-beta-*", "System.Threading.Tasks.Parallel": "4.0.1-beta-*",
"moq": "4.3.0.0", "Microsoft.CSharp": "4.0.0-beta-*",
"nunit": "3.0.0-beta-5" "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 ...@@ -255,7 +255,7 @@ public CommandMap CommandMap
/// <summary> /// <summary>
/// Specifies the time in milliseconds that the system should allow for synchronous operations (defaults to 1 second) /// Specifies the time in milliseconds that the system should allow for synchronous operations (defaults to 1 second)
/// </summary> /// </summary>
public int SyncTimeout { get { return syncTimeout.GetValueOrDefault(1000); } set { syncTimeout = value; } } public int SyncTimeout { get { return syncTimeout.GetValueOrDefault(20000); } set { syncTimeout = value; } }
/// <summary> /// <summary>
/// Specifies the time in milliseconds that the system should allow for responses before concluding that the socket is unhealthy /// 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