File tree 4 files changed +32
-12
lines changed
src/test/java/org/elasticsearch/discovery/gce
4 files changed +32
-12
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,19 @@ governing permissions and limitations under the License. -->
61
61
</properties >
62
62
63
63
<dependencies >
64
+ <dependency >
65
+ <groupId >org.hamcrest</groupId >
66
+ <artifactId >hamcrest-core</artifactId >
67
+ <version >1.3.RC2</version >
68
+ <scope >test</scope >
69
+ </dependency >
70
+ <dependency >
71
+ <groupId >org.hamcrest</groupId >
72
+ <artifactId >hamcrest-library</artifactId >
73
+ <version >1.3.RC2</version >
74
+ <scope >test</scope >
75
+ </dependency >
76
+
64
77
<dependency >
65
78
<groupId >org.apache.lucene</groupId >
66
79
<artifactId >lucene-test-framework</artifactId >
@@ -104,25 +117,14 @@ governing permissions and limitations under the License. -->
104
117
<version >1.2.17</version >
105
118
<scope >test</scope >
106
119
</dependency >
120
+
107
121
<dependency >
108
122
<groupId >org.elasticsearch</groupId >
109
123
<artifactId >elasticsearch</artifactId >
110
124
<version >${elasticsearch.version} </version >
111
125
<type >test-jar</type >
112
126
<scope >test</scope >
113
127
</dependency >
114
- <dependency >
115
- <groupId >org.hamcrest</groupId >
116
- <artifactId >hamcrest-core</artifactId >
117
- <version >1.3.RC2</version >
118
- <scope >test</scope >
119
- </dependency >
120
- <dependency >
121
- <groupId >org.hamcrest</groupId >
122
- <artifactId >hamcrest-library</artifactId >
123
- <version >1.3.RC2</version >
124
- <scope >test</scope >
125
- </dependency >
126
128
127
129
</dependencies >
128
130
Original file line number Diff line number Diff line change 34
34
@ ElasticsearchIntegrationTest .ClusterScope (
35
35
scope = ElasticsearchIntegrationTest .Scope .SUITE ,
36
36
numDataNodes = 2 ,
37
+ numClientNodes = 0 ,
37
38
transportClientRatio = 0.0 )
38
39
public abstract class AbstractGceComputeServiceTest extends ElasticsearchIntegrationTest {
39
40
/**
@@ -57,6 +58,7 @@ protected Settings nodeSettings(int nodeOrdinal) {
57
58
.put ("transport.tcp.port" , getPort (nodeOrdinal ))
58
59
.put ("http.enabled" , false )
59
60
.put ("plugins." + PluginsService .LOAD_PLUGIN_FROM_CLASSPATH , true )
61
+ .put (super .nodeSettings (nodeOrdinal ))
60
62
.build ();
61
63
}
62
64
Original file line number Diff line number Diff line change 21
21
22
22
import org .elasticsearch .common .settings .ImmutableSettings ;
23
23
import org .elasticsearch .common .settings .Settings ;
24
+ import org .junit .Ignore ;
24
25
26
+ /**
27
+ * We need to ignore this test from elasticsearch version 1.2.1 as
28
+ * expected nodes running is 2 and this test will create 2 clusters with one node each.
29
+ * @see org.elasticsearch.test.ElasticsearchIntegrationTest#ensureClusterSizeConsistency()
30
+ * TODO Reactivate when it will be possible to set the number of running nodes
31
+ */
32
+ @ Ignore
25
33
public class GceDifferentTagsOneTagTest extends AbstractGceComputeServiceTest {
26
34
27
35
@ Override
Original file line number Diff line number Diff line change 21
21
22
22
import org .elasticsearch .common .settings .ImmutableSettings ;
23
23
import org .elasticsearch .common .settings .Settings ;
24
+ import org .junit .Ignore ;
24
25
26
+ /**
27
+ * We need to ignore this test from elasticsearch version 1.2.1 as
28
+ * expected nodes running is 2 and this test will create 2 clusters with one node each.
29
+ * @see org.elasticsearch.test.ElasticsearchIntegrationTest#ensureClusterSizeConsistency()
30
+ * TODO Reactivate when it will be possible to set the number of running nodes
31
+ */
32
+ @ Ignore
25
33
public class GceDifferentTagsTwoTagsTest extends AbstractGceComputeServiceTest {
26
34
27
35
@ Override
You can’t perform that action at this time.
0 commit comments