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 2021/04/27 16:28:19 UTC

[GitHub] [couchdb] iilyak commented on a change in pull request #3530: Improve retry handling in _all_dbs, _dbs_info and _deleted_dbs

iilyak commented on a change in pull request #3530:
URL: https://github.com/apache/couchdb/pull/3530#discussion_r621388460



##########
File path: src/fabric/test/fabric2_db_crud_tests.erl
##########
@@ -449,9 +449,12 @@ list_dbs_tx_too_old(_) ->
     ?assertMatch({ok, _}, fabric2_db:create(DbName1, [])),
     ?assertMatch({ok, _}, fabric2_db:create(DbName2, [])),
 
-    UserFun = fun(Row, Acc) ->
-        fabric2_test_util:tx_too_old_raise_in_user_fun(),
-        {ok, [Row | Acc]}
+    UserFun = fun
+        ({row, _} = Row, Acc) ->
+            fabric2_test_util:tx_too_old_raise_in_user_fun(),
+                {ok, [Row | Acc]};

Review comment:
       strange indentation




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