You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2019/07/29 18:20:49 UTC

[GitHub] [couchdb] nickva commented on a change in pull request #2086: Fix mem3_sync_event_listener EUnit test

nickva commented on a change in pull request #2086: Fix mem3_sync_event_listener EUnit test
URL: https://github.com/apache/couchdb/pull/2086#discussion_r308370352
 
 

 ##########
 File path: src/mem3/src/mem3_sync_event_listener.erl
 ##########
 @@ -301,30 +301,19 @@ get_state(Pid) ->
     Pid ! {get_state, Ref, self()},
     receive
         {Ref, State} -> State
-    after 10 ->
+    after 500 ->
         timeout
     end.
 
 
-wait_state_frequency(Pid, Val) ->
+wait_state(Pid, Field, Val) when is_pid(Pid), is_integer(Field) ->
+    
 
 Review comment:
   Thanks for noticing. I have no idea why I inserted it there. I'll fix it

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services