Commit a158fa85 authored by Marc Gravell's avatar Marc Gravell

Investigation into #182

parent 4ad40bac
port 6379 port 6379
dbfilename master.rdb dbfilename master.rdb
databases 2000 databases 2000
maxheap 2gb maxheap 6gb
\ No newline at end of file save ""
\ No newline at end of file
...@@ -2,4 +2,5 @@ port 6381 ...@@ -2,4 +2,5 @@ port 6381
requirepass changeme requirepass changeme
dbfilename secure.rdb dbfilename secure.rdb
databases 2000 databases 2000
maxheap 512mb maxheap 512mb
\ No newline at end of file save ""
\ No newline at end of file
...@@ -2,4 +2,5 @@ port 6380 ...@@ -2,4 +2,5 @@ port 6380
slaveof 127.0.0.1 6379 slaveof 127.0.0.1 6379
dbfilename slave.rdb dbfilename slave.rdb
databases 2000 databases 2000
maxheap 2gb maxheap 2gb
\ No newline at end of file save ""
\ No newline at end of file
...@@ -9,13 +9,19 @@ public class Issue182 : TestBase ...@@ -9,13 +9,19 @@ public class Issue182 : TestBase
{ {
protected override string GetConfiguration() protected override string GetConfiguration()
{ {
return "127.0.0.1:6379"; return "127.0.0.1:6379,syncTimeout=10000";
} }
[Test] [Test]
public void SetMembers() public void SetMembers()
{ {
using (var conn = Create()) using (var conn = Create())
{ {
conn.ConnectionFailed += (s, a) =>
{
Console.WriteLine(a.FailureType);
Console.WriteLine(a.Exception.Message);
Console.WriteLine(a.Exception.StackTrace);
};
var db = conn.GetDatabase(); var db = conn.GetDatabase();
var key = Me(); var key = Me();
......
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