Skip to content

Commit 52c665b

Browse files
[RR] Ignore Ranker integration tests #140
1 parent 152096d commit 52c665b

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,7 @@
248248
</profiles>
249249
<properties>
250250
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
251+
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
251252
<timestamp>${maven.build.timestamp}</timestamp>
252253
<maven.build.timestamp.format>yyyy-MM-dd HH:mm:ssa</maven.build.timestamp.format>
253254
</properties>

src/test/java/com/ibm/watson/developer_cloud/retrieve_and_rank/v1/RetrieveAndRankIT.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ public void setUp() throws Exception {
6868
}
6969

7070
@Test
71+
@Ignore
7172
public void testCreateRankerAndRankResults() throws InterruptedException {
7273
final File trainingFile = new File(RESOURCE_PATH + "ranker_train.csv");
7374
final File testFile = new File(RESOURCE_PATH + "ranker_test.csv");
@@ -110,8 +111,9 @@ public void testCreateAndDeleteSolrClusterWithOptions() {
110111
final SolrClusterOptions options =
111112
new SolrClusterOptions(CREATED_CLUSTER_NAME, CREATED_CLUSTER_SIZE_ONE);
112113
final SolrCluster solrCluster = service.createSolrCluster(options);
113-
final SolrCluster expectedSolrCluster = new SolrCluster(solrCluster.getId(),
114-
CREATED_CLUSTER_NAME, CREATED_CLUSTER_SIZE_ONE.toString(), Status.NOT_AVAILABLE);
114+
final SolrCluster expectedSolrCluster =
115+
new SolrCluster(solrCluster.getId(), CREATED_CLUSTER_NAME,
116+
CREATED_CLUSTER_SIZE_ONE.toString(), Status.NOT_AVAILABLE);
115117
try {
116118
assertTrue(service.getSolrClusters().getSolrClusters().contains(expectedSolrCluster));
117119
} finally {

travis.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,8 @@
22

33
if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then
44
echo '$TRAVIS_PULL_REQUEST is false, running all tests'
5-
mvn clean install -Dmaven.test.skip=true
65
mvn clean verify cobertura:cobertura-integration-test coveralls:report
7-
codecov
86
else
97
echo '$TRAVIS_PULL_REQUEST is not false ($TRAVIS_PULL_REQUEST), running unit tests'
10-
mvn clean install -Dmaven.test.skip=true
118
mvn clean test
129
fi

0 commit comments

Comments
 (0)