Browse Source

Remove mention of mvn from RestIT and Security

Nik Everett 9 years ago
parent
commit
74754952db

+ 1 - 1
core/src/main/java/org/elasticsearch/bootstrap/Security.java

@@ -98,7 +98,7 @@ import java.util.Map;
  * <p>
  * When running tests you have to pass it to the test runner like this:
  * <pre>
- * mvn test -Dtests.jvm.argline="-Djava.security.debug=access,failure" ...
+ * gradle test -Dtests.jvm.argline="-Djava.security.debug=access,failure" ...
  * </pre>
  * See <a href="https://docs.oracle.com/javase/7/docs/technotes/guides/security/troubleshooting-security.html">
  * Troubleshooting Security</a> for information.

+ 2 - 2
distribution/deb/src/test/java/org/elasticsearch/test/rest/RestIT.java

@@ -24,12 +24,12 @@ import org.elasticsearch.test.rest.parser.RestTestParseException;
 
 import java.io.IOException;
 
-/** Rest integration test. runs against external cluster in 'mvn verify' */
+/** Rest integration test. Runs against a cluster started by {@code gradle integTest} */
 public class RestIT extends ESRestTestCase {
     public RestIT(RestTestCandidate testCandidate) {
         super(testCandidate);
     }
-    // we run them all sequentially: start simple!
+
     @ParametersFactory
     public static Iterable<Object[]> parameters() throws IOException, RestTestParseException {
         return createParameters(0, 1);

+ 2 - 2
distribution/integ-test-zip/src/test/java/org/elasticsearch/test/rest/RestIT.java

@@ -24,12 +24,12 @@ import org.elasticsearch.test.rest.parser.RestTestParseException;
 
 import java.io.IOException;
 
-/** Rest integration test. runs against external cluster in 'mvn verify' */
+/** Rest integration test. Runs against a cluster started by {@code gradle integTest} */
 public class RestIT extends ESRestTestCase {
     public RestIT(RestTestCandidate testCandidate) {
         super(testCandidate);
     }
-    // we run them all sequentially: start simple!
+
     @ParametersFactory
     public static Iterable<Object[]> parameters() throws IOException, RestTestParseException {
         return createParameters(0, 1);

+ 2 - 2
distribution/rpm/src/test/java/org/elasticsearch/test/rest/RestIT.java

@@ -24,12 +24,12 @@ import org.elasticsearch.test.rest.parser.RestTestParseException;
 
 import java.io.IOException;
 
-/** Rest integration test. runs against external cluster in 'mvn verify' */
+/** Rest integration test. Runs against a cluster started by {@code gradle integTest} */
 public class RestIT extends ESRestTestCase {
     public RestIT(RestTestCandidate testCandidate) {
         super(testCandidate);
     }
-    // we run them all sequentially: start simple!
+
     @ParametersFactory
     public static Iterable<Object[]> parameters() throws IOException, RestTestParseException {
         return createParameters(0, 1);

+ 2 - 2
distribution/tar/src/test/java/org/elasticsearch/test/rest/RestIT.java

@@ -24,12 +24,12 @@ import org.elasticsearch.test.rest.parser.RestTestParseException;
 
 import java.io.IOException;
 
-/** Rest integration test. runs against external cluster in 'mvn verify' */
+/** Rest integration test. Runs against a cluster started by {@code gradle integTest} */
 public class RestIT extends ESRestTestCase {
     public RestIT(RestTestCandidate testCandidate) {
         super(testCandidate);
     }
-    // we run them all sequentially: start simple!
+
     @ParametersFactory
     public static Iterable<Object[]> parameters() throws IOException, RestTestParseException {
         return createParameters(0, 1);

+ 2 - 2
distribution/zip/src/test/java/org/elasticsearch/test/rest/RestIT.java

@@ -24,12 +24,12 @@ import org.elasticsearch.test.rest.parser.RestTestParseException;
 
 import java.io.IOException;
 
-/** Rest integration test. runs against external cluster in 'mvn verify' */
+/** Rest integration test. Runs against a cluster started by {@code gradle integTest} */
 public class RestIT extends ESRestTestCase {
     public RestIT(RestTestCandidate testCandidate) {
         super(testCandidate);
     }
-    // we run them all sequentially: start simple!
+
     @ParametersFactory
     public static Iterable<Object[]> parameters() throws IOException, RestTestParseException {
         return createParameters(0, 1);