wohali commented on a change in pull request #1406: Add initial Elixir suite
URL: https://github.com/apache/couchdb/pull/1406#discussion_r208278812
##########
File path: Makefile
##########
@@ -137,6 +137,11 @@ soak-eunit: couch
@$(REBAR) setup_eunit 2> /dev/null
while [ $$? -eq 0 ] ; do $(REBAR) -r eunit $(EUNIT_OPTS) ; done
+.PHONY: elixir
+elixir:
+ @rm -rf dev/lib
+ @dev/run -a adm:pass --no-eval test/elixir/run
Review comment:
@iilyak I agree, I'd prefer not to use `application:stop/start` because
that's not how CouchDB actually restarts in production most of the time.
There used to be a restart endpoint, it was dropped with 2.x. The hack in
`dev/run` is what @davisp put in to deal with its removal. If you do put it
back in, it should live under `/_node/<nodename>/_restart`.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services