This is an automated email from the ASF dual-hosted git repository.

jan pushed a commit to branch rebase/access-2023
in repository https://gitbox.apache.org/repos/asf/couchdb.git


The following commit(s) were added to refs/heads/rebase/access-2023 by this 
push:
     new fffb84f1c chore: cleanup
fffb84f1c is described below

commit fffb84f1cdacdb2fdd65f9e9da27e1bc192d2c3f
Author: Jan Lehnardt <[email protected]>
AuthorDate: Sat Jul 8 10:27:46 2023 +0200

    chore: cleanup
---
 src/couch/test/eunit/couchdb_update_conflicts_tests.erl | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/couch/test/eunit/couchdb_update_conflicts_tests.erl 
b/src/couch/test/eunit/couchdb_update_conflicts_tests.erl
index aa2015af3..defe7d65d 100644
--- a/src/couch/test/eunit/couchdb_update_conflicts_tests.erl
+++ b/src/couch/test/eunit/couchdb_update_conflicts_tests.erl
@@ -18,7 +18,7 @@
 -define(i2l(I), integer_to_list(I)).
 -define(DOC_ID, <<"foobar">>).
 -define(LOCAL_DOC_ID, <<"_local/foobar">>).
--define(NUM_CLIENTS, [1000, 2000, 5000, 10000]).
+-define(NUM_CLIENTS, [100, 500, 1000, 2000, 5000, 10000]).
 -define(TIMEOUT, 20000).
 
 start() ->
@@ -68,7 +68,7 @@ concurrent_updates() ->
             fun setup/1,
             fun teardown/2,
             [
-             {NumClients, fun should_concurrently_update_doc/2}
+               {NumClients, fun should_concurrently_update_doc/2}
              || NumClients <- ?NUM_CLIENTS
             ]
         }
@@ -337,11 +337,11 @@ spawn_client(DbName, Doc) ->
         end,
         erlang:yield(),
         Result = try
-                 couch_db:update_doc(Db, Doc, [])
-            catch
-                _:Error ->
-                    Error
-            end,
+             couch_db:update_doc(Db, Doc, [])
+        catch
+            _:Error ->
+                Error
+        end,
         ok = couch_db:close(Db),
         exit(Result)
     end).

Reply via email to