nickva commented on code in PR #5702:
URL: https://github.com/apache/couchdb/pull/5702#discussion_r2430375524


##########
test/elixir/test/changes_async_test.exs:
##########
@@ -95,6 +95,7 @@ defmodule ChangesAsyncTest do
     create_doc_bar(db_name, "bar")
 
     changes = process_response(req_id.id, &parse_event/1)
+    Process.sleep(100)

Review Comment:
   At first sight, it is odd that this works. By this point, it seems the 
`changes` are already processed since we're just checking length next. Unless 
`changes` is some lazy callback feeder object which only starts to produce data 
when we try to read the data?



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to