Skip to content
Browse files

remove time outs from blpop test

  • Loading branch information...
1 parent a016138 commit 05754ea469af7d411a8b7541e6d951beaccd9fa0 joewilliams committed May 31, 2011
Showing with 5 additions and 5 deletions.
  1. +5 −5 test/erldis_list_tests.erl
View
10 test/erldis_list_tests.erl
@@ -87,11 +87,11 @@ blocking_queue_test() ->
?assertEqual([<<"a">>, <<"second">>], erldis:blpop(Client, [<<"a">>, <<"b">>])),
spawn_link(fun blocking_queue_sender/0),
- ?assertEqual([<<"a">>, <<1>>], erldis:blpop(Client, [<<"a">>, <<"b">>], 1000)),
- ?assertEqual([<<"b">>, <<1>>], erldis:blpop(Client, [<<"a">>, <<"b">>], 1000)),
- ?assertEqual([<<"a">>, <<2>>], erldis:blpop(Client, [<<"a">>, <<"b">>], 1000)),
- ?assertEqual([], erldis:blpop(Client, [<<"a">>, <<"b">>], 1000)),
- ?assertEqual([<<"a">>, <<3>>], erldis:blpop(Client, [<<"a">>, <<"b">>], 1000)),
+ ?assertEqual([<<"a">>, <<1>>], erldis:blpop(Client, [<<"a">>, <<"b">>])),
+ ?assertEqual([<<"b">>, <<1>>], erldis:blpop(Client, [<<"a">>, <<"b">>])),
+ ?assertEqual([<<"a">>, <<2>>], erldis:blpop(Client, [<<"a">>, <<"b">>])),
+ ?assertEqual([], erldis:blpop(Client, [<<"a">>, <<"b">>])),
+ ?assertEqual([<<"a">>, <<3>>], erldis:blpop(Client, [<<"a">>, <<"b">>])),
erldis_client:stop(Client).

0 comments on commit 05754ea

Please sign in to comment.
Something went wrong with that request. Please try again.