nickva commented on a change in pull request #3413:
URL: https://github.com/apache/couchdb/pull/3413#discussion_r591715337
##########
File path: test/elixir/test/concurrent_writes_test.exs
##########
@@ -0,0 +1,47 @@
+defmodule ConcurrentWritesTest do
+ use CouchTestCase
+
+ @moduletag :concurrent_writes
+ @moduletag kind: :single_node
+
+ @moduledoc """
+ Test CouchDB under concurrent write load
+ """
+
+ @tag :with_db
+ test "Primary data tests", context do
+ db_name = context[:db_name]
+ parent = self()
+ Enum.each(1..99,
Review comment:
Perhaps we can also assert that doc puts succeeded by checking
```
r = Couch.put("/#{db_name}/doc#{x}", body: %{:a => x})
assert r.status_code == 201
```
----------------------------------------------------------------
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:
[email protected]