[TEST] fixed _cat/thread_pool REST tests with local transport, in case the transport port is not available and gets returned as '-'

Re-enabled REST tests suite

Closes #6033
This commit is contained in:
javanna 2014-05-04 22:10:03 +02:00 committed by Luca Cavanna
parent 6bc3a744a1
commit e96e634d10
2 changed files with 1 additions and 3 deletions

View File

@ -25,7 +25,7 @@
- match:
$body: |
/ #pid id host ip port
^ (\d+ \s+ \S{4} \s+ \S+ \s+ (\d{1,3}\.){3}\d{1,3} \s+ \d{4} \s+ \n)+ $/
^ (\d+ \s+ \S{4} \s+ \S+ \s+ (\d{1,3}\.){3}\d{1,3} \s+ (\d{4}|-) \s+ \n)+ $/
- do:
cat.thread_pool:

View File

@ -22,7 +22,6 @@ package org.elasticsearch.test.rest;
import com.carrotsearch.randomizedtesting.annotations.Name;
import com.carrotsearch.randomizedtesting.annotations.ParametersFactory;
import com.google.common.collect.Lists;
import org.apache.lucene.util.LuceneTestCase.AwaitsFix;
import org.elasticsearch.Version;
import org.elasticsearch.common.Strings;
import org.elasticsearch.test.ElasticsearchIntegrationTest;
@ -52,7 +51,6 @@ import java.util.Set;
//tests distribution disabled for now since it causes reporting problems,
// due to the non unique suite name
//@ReplicateOnEachVm
@AwaitsFix(bugUrl="https://github.com/elasticsearch/elasticsearch/issues/6033")
public class ElasticsearchRestTests extends ElasticsearchIntegrationTest {
/**