Skip to content

Commit

Permalink
[TEST] Add some missing and required static configs
Browse files Browse the repository at this point in the history
  • Loading branch information
polyfractal committed Aug 21, 2017
1 parent 51b9b9b commit 38febbe
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Elasticsearch/Tests/YamlRunnerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class YamlRunnerTest extends \PHPUnit_Framework_TestCase
];

private static $skippedTests = [
'cluster.put_settings/10_basic.yml#Test get a default settings' => 'Tested attribute does not exist normally, followup with core.'

];

/** @var array A list of skipped test with their reasons */
Expand Down
7 changes: 7 additions & 0 deletions travis/download_and_run_es.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ unzip "elasticsearch-latest-SNAPSHOT.zip"
echo "Adding repo to config..."
find . -name "elasticsearch.yml" | while read TXT ; do echo 'repositories.url.allowed_urls: ["http://*"]' >> $TXT ; done
find . -name "elasticsearch.yml" | while read TXT ; do echo 'path.repo: ["/tmp"]' >> $TXT ; done
find . -name "elasticsearch.yml" | while read TXT ; do echo 'node.max_local_storage_nodes: 1' >> $TXT ; done
find . -name "elasticsearch.yml" | while read TXT ; do echo 'cluster.routing.allocation.disk.watermark.low: 1b' >> $TXT ; done
find . -name "elasticsearch.yml" | while read TXT ; do echo 'cluster.routing.allocation.disk.watermark.high: 1b' >> $TXT ; done
find . -name "elasticsearch.yml" | while read TXT ; do echo 'cluster.routing.allocation.disk.watermark.flood_stage: 1b' >> $TXT ; done
find . -name "elasticsearch.yml" | while read TXT ; do echo 'node.attr.testattr: test' >> $TXT ; done
find . -name "elasticsearch.yml" | while read TXT ; do echo 'script.max_compilations_per_minute: 2048' >> $TXT ; done


echo "Starting Elasticsearch v${ES_VERSION}"

Expand Down

0 comments on commit 38febbe

Please sign in to comment.