File tree 4 files changed +15
-3
lines changed
src/test/java/org/elasticsearch
4 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -3,9 +3,10 @@ Google Compute Engine Cloud Plugin for Elasticsearch
3
3
4
4
The GCE Cloud plugin allows to use GCE API for the unicast discovery mechanism.
5
5
6
- In order to install the plugin, simply run: ` bin/plugin -install elasticsearch/elasticsearch-cloud-gce/2.0.0 ` .
6
+ In order to install the plugin, simply run: ` bin/plugin -install elasticsearch/elasticsearch-cloud-gce/2.1.1 ` .
7
7
8
8
* For master elasticsearch versions, look at [ master branch] ( https://github.com/elasticsearch/elasticsearch-cloud-gce/tree/master ) .
9
+ * For 1.3.x elasticsearch versions, look at [ es-1.3 branch] ( https://github.com/elasticsearch/elasticsearch-cloud-gce/tree/es-1.3 ) .
9
10
* For 1.2.x elasticsearch versions, look at [ es-1.2 branch] ( https://github.com/elasticsearch/elasticsearch-cloud-gce/tree/es-1.2 ) .
10
11
* For 1.1.x elasticsearch versions, look at [ es-1.1 branch] ( https://github.com/elasticsearch/elasticsearch-cloud-gce/tree/es-1.1 ) .
11
12
* For 1.0.x elasticsearch versions, look at [ es-1.0 branch] ( https://github.com/elasticsearch/elasticsearch-cloud-gce/tree/es-1.0 ) .
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ governing permissions and limitations under the License. -->
51
51
<elasticsearch .version>2.0.0-SNAPSHOT</elasticsearch .version>
52
52
<google .gce.version>v1-rev15-1.18.0-rc</google .gce.version>
53
53
<google .api.version>1.18.0-rc</google .api.version>
54
- <lucene .version>4.8.0 </lucene .version>
54
+ <lucene .version>4.8.1 </lucene .version>
55
55
<tests .shuffle>true</tests .shuffle>
56
56
<tests .output>onerror</tests .output>
57
57
<tests .client.ratio></tests .client.ratio>
Original file line number Diff line number Diff line change 22
22
import org .elasticsearch .action .admin .cluster .node .info .NodesInfoResponse ;
23
23
import org .elasticsearch .common .settings .ImmutableSettings ;
24
24
import org .elasticsearch .common .settings .Settings ;
25
+ import org .elasticsearch .plugins .PluginsService ;
25
26
import org .elasticsearch .test .ElasticsearchIntegrationTest ;
26
27
import org .junit .Test ;
27
28
@@ -55,6 +56,7 @@ protected Settings nodeSettings(int nodeOrdinal) {
55
56
return ImmutableSettings .builder ()
56
57
.put ("transport.tcp.port" , getPort (nodeOrdinal ))
57
58
.put ("http.enabled" , false )
59
+ .put ("plugins." + PluginsService .LOAD_PLUGIN_FROM_CLASSPATH , true )
58
60
.build ();
59
61
}
60
62
Original file line number Diff line number Diff line change 23
23
import org .elasticsearch .cloud .gce .AbstractGceTest ;
24
24
import org .elasticsearch .common .settings .ImmutableSettings ;
25
25
import org .elasticsearch .common .settings .Settings ;
26
+ import org .elasticsearch .plugins .PluginsService ;
26
27
import org .elasticsearch .test .ElasticsearchIntegrationTest ;
27
28
import org .hamcrest .Matchers ;
28
29
import org .junit .Test ;
36
37
*/
37
38
@ AbstractGceTest .GceTest
38
39
@ ElasticsearchIntegrationTest .ClusterScope (
39
- scope = ElasticsearchIntegrationTest .Scope .TEST ,
40
+ scope = ElasticsearchIntegrationTest .Scope .SUITE ,
40
41
numDataNodes = 1 ,
41
42
transportClientRatio = 0.0 )
42
43
public class GceSimpleITest extends AbstractGceTest {
43
44
45
+ @ Override
46
+ protected Settings nodeSettings (int nodeOrdinal ) {
47
+ return ImmutableSettings .builder ()
48
+ .put (super .nodeSettings (nodeOrdinal ))
49
+ .put ("plugins." + PluginsService .LOAD_PLUGIN_FROM_CLASSPATH , true )
50
+ .build ();
51
+ }
52
+
44
53
@ Test
45
54
public void one_node_should_run () {
46
55
// Do nothing... Just start :-)
You can’t perform that action at this time.
0 commit comments