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 2020/01/21 08:02:32 UTC

[GitHub] [couchdb] willholley commented on a change in pull request #2475: Add POST /_node//_config/_reload

willholley commented on a change in pull request #2475: Add POST /_node/<node>/_config/_reload
URL: https://github.com/apache/couchdb/pull/2475#discussion_r368854659
 
 

 ##########
 File path: test/elixir/test/config_test.exs
 ##########
 @@ -174,4 +174,11 @@ defmodule ConfigTest do
       set_config(context, section, "wohali", "rules", 403)
     end)
   end
+
+  test "Reload config", context do
+    url = "#{context[:config_url]}/_reload"
+    resp = Couch.post(url)
+
+    assert resp.status_code == 200
 
 Review comment:
   yes - I couldn't see a good way to test this, though that test should perhaps exist for `couch_config` rather than this endpoint specifically. 

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


With regards,
Apache Git Services