Skip to content

Commit

Permalink
Add refresh to test to prevent it from failing randomly
Browse files Browse the repository at this point in the history
  • Loading branch information
ruflin committed Jul 3, 2014
1 parent dc63399 commit 591a74e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/lib/Elastica/Test/Transport/HttpTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,8 @@ public function testPostWith0Body()
$client = new Client();

$index = $client->getIndex('elastica_0_body');
$index->refresh();
$index->create(array(), true);
$index->refresh();

$tokens = $index->analyze('0');

Expand Down

0 comments on commit 591a74e

Please sign in to comment.