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


##########
test/elixir/test/view_errors_test.exs:
##########
@@ -190,7 +190,12 @@ defmodule ViewErrorsTest do
     # fires first. The first timeout is the couch_os_process
     # waiting for data back from couchjs. The second is the
     # gen_server call to couch_os_process.
-    assert resp.body["error"] == "os_process_error" or resp.body["error"] == 
"timeout"
+    err_name = resp.body["error"]
+    assert (
+      err_name == "os_process_error" or
+      err_name == "timeout" or
+      err_name == "InternalError"
+    )

Review Comment:
   That's much cleaner. I'll switch it to that. Thanks, Jay!



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