Skip to content

Commit

Permalink
Merge pull request ServiceStack#152 from HookedMediaGroup/fix_blockin…
Browse files Browse the repository at this point in the history
…g_dequeue_test

Fixing Can_BlockingDequeueItemFromList Test
  • Loading branch information
mythz committed May 26, 2013
2 parents 0bee8be + 2bbfa1a commit 1d216eb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ public void Can_PopFromList()
public void Can_BlockingDequeueItemFromList()
{
var storeMembers = Factory.CreateList();
storeMembers.ForEach(x => redis.AddItemToList(List, x));

storeMembers.ForEach(x => redis.EnqueueItemOnList(List, x));
var item1 = redis.BlockingDequeueItemFromList(List, new TimeSpan(0, 0, 1));

Factory.AssertIsEqual(item1, (T)storeMembers.First());
Expand Down

0 comments on commit 1d216eb

Please sign in to comment.