Skip to content

Commit

Permalink
[TEST] Fix integration test to use jenkins env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
polyfractal committed Mar 5, 2014
1 parent e6d6e80 commit 182dacd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/Elasticsearch/Tests/ClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ public function testConstructorStringHost()
public function testOneGoodOneBadHostNoException()
{
$params = array('hosts' => array (
'127.0.0.1:9201',
'127.0.0.1:9200',
'127.0.0.1:80',
$_SERVER['ES_TEST_HOST'],
));
$client = new Elasticsearch\Client($params);

Expand All @@ -66,8 +66,8 @@ public function testOneGoodOneBadHostNoException()
public function testOneGoodOneBadHostNoRetryException()
{
$params = array('hosts' => array (
'127.0.0.1:9201',
'127.0.0.1:9200',
'127.0.0.1:80',
$_SERVER['ES_TEST_HOST'],
));
$params['retries'] = 0;
$client = new Elasticsearch\Client($params);
Expand Down

0 comments on commit 182dacd

Please sign in to comment.