[
https://issues.apache.org/jira/browse/NUTCH-2092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14736219#comment-14736219
]
ASF GitHub Bot commented on NUTCH-2092:
---------------------------------------
Github user lewismc commented on a diff in the pull request:
https://github.com/apache/nutch/pull/54#discussion_r39008773
--- Diff: src/java/org/apache/nutch/service/NutchServer.java ---
@@ -211,6 +211,10 @@ public boolean canStop(boolean force){
return jobs.isEmpty();
}
+ protected static void setPort(int port) {
+ NutchServer.port = port;
--- End diff --
Formatting
> Unit Test for NutchServer
> -------------------------
>
> Key: NUTCH-2092
> URL: https://issues.apache.org/jira/browse/NUTCH-2092
> Project: Nutch
> Issue Type: Sub-task
> Components: REST_api
> Reporter: Sujen Shah
> Priority: Minor
> Labels: memex
> Fix For: 1.11
>
>
> A small test case to start the server and test the admin endpoint.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)