jiahuili430 commented on code in PR #5702:
URL: https://github.com/apache/couchdb/pull/5702#discussion_r2430460878
##########
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:
https://github.com/apache/couchdb/blob/main/test/elixir/test/changes_async_test.exs#L397
Maybe latest OTP 27 or Elixir 1.18 is a little bit than OTP 26 and Elixir
1.17.
It feels like it's not having enough time to process and only returns the
first element. Without `IO.inspect/2`, the changes_ids will be `["doc1"]`
sometimes.
Maybe I should use `IO.inspect/2` as it will also introduce some sleeps and
easier to debug.
--
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]