You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2021/09/07 18:37:29 UTC
[couchdb] branch suppress-compiler-warnings updated (e09bdf7 ->
c10cf10)
This is an automated email from the ASF dual-hosted git repository.
jaydoane pushed a change to branch suppress-compiler-warnings
in repository https://gitbox.apache.org/repos/asf/couchdb.git.
discard e09bdf7 Suppress compiler warnings
add e59ddd2 Increase timeout for multiple ddoc indexer test
add eee0a61 Replace couch_js with js_engine in exunit pagination test
new c10cf10 Suppress compiler warnings
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (e09bdf7)
\
N -- N -- N refs/heads/suppress-compiler-warnings (c10cf10)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
src/chttpd/test/exunit/pagination_test.exs | 4 ++--
src/couch_views/test/couch_views_indexer_test.erl | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
[couchdb] 01/01: Suppress compiler warnings
Posted by ja...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jaydoane pushed a commit to branch suppress-compiler-warnings
in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit c10cf1051c438608e91b4d312a73ffa6e27a481e
Author: Jay Doane <ja...@apache.org>
AuthorDate: Thu Sep 2 23:37:43 2021 -0700
Suppress compiler warnings
---
src/chttpd/test/exunit/pagination_test.exs | 4 ++--
src/chttpd/test/exunit/tracing_test.exs | 4 +---
2 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/src/chttpd/test/exunit/pagination_test.exs b/src/chttpd/test/exunit/pagination_test.exs
index 1c2e509..f071036 100644
--- a/src/chttpd/test/exunit/pagination_test.exs
+++ b/src/chttpd/test/exunit/pagination_test.exs
@@ -109,7 +109,7 @@ defmodule Couch.Test.Pagination do
paginate_queries(context, [], opts)
end
- defp paginate_queries(context, acc, opts) do
+ defp paginate_queries(context, _acc, opts) do
{paginate_opts, client_opts} = Keyword.split(opts, [:url, :direction])
resp =
@@ -1262,7 +1262,7 @@ defmodule Couch.Test.Pagination do
inspect(field(results, "id"))
})
- keys = Enum.map(results, &Map.get(&1, "key"))
+ _keys = Enum.map(results, &Map.get(&1, "key"))
end
end
end
diff --git a/src/chttpd/test/exunit/tracing_test.exs b/src/chttpd/test/exunit/tracing_test.exs
index f66fb87..4758cd4 100644
--- a/src/chttpd/test/exunit/tracing_test.exs
+++ b/src/chttpd/test/exunit/tracing_test.exs
@@ -1,7 +1,5 @@
defmodule Couch.Test.OpenTracing do
use Couch.Test.ExUnit.Case
- alias Couch.Test.Setup
- alias Couch.Test.Setup.Step
alias Couch.Test.Utils
import Couch.DBTest, only: [retry_until: 1]
@@ -17,7 +15,7 @@ defmodule Couch.Test.OpenTracing do
end
setup_all context do
- test_ctx = :test_util.start_couch([:chttpd])
+ _test_ctx = :test_util.start_couch([:chttpd])
:ok = create_admin("adm", "pass")
Map.merge(context, %{