Skip to content

Commit

Permalink
Investigation into #182
Browse files Browse the repository at this point in the history
  • Loading branch information
mgravell committed Apr 13, 2015
1 parent 4ad40ba commit a158fa8
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
3 changes: 2 additions & 1 deletion Redis Configs/master.conf
@@ -1,4 +1,5 @@
port 6379
dbfilename master.rdb
databases 2000
maxheap 2gb
maxheap 6gb
save ""
3 changes: 2 additions & 1 deletion Redis Configs/secure.conf
Expand Up @@ -2,4 +2,5 @@ port 6381
requirepass changeme
dbfilename secure.rdb
databases 2000
maxheap 512mb
maxheap 512mb
save ""
3 changes: 2 additions & 1 deletion Redis Configs/slave.conf
Expand Up @@ -2,4 +2,5 @@ port 6380
slaveof 127.0.0.1 6379
dbfilename slave.rdb
databases 2000
maxheap 2gb
maxheap 2gb
save ""
8 changes: 7 additions & 1 deletion StackExchange.Redis.Tests/Issues/Issue182.cs
Expand Up @@ -9,13 +9,19 @@ public class Issue182 : TestBase
{
protected override string GetConfiguration()
{
return "127.0.0.1:6379";
return "127.0.0.1:6379,syncTimeout=10000";
}
[Test]
public void SetMembers()
{
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 key = Me();
Expand Down

0 comments on commit a158fa8

Please sign in to comment.