test: echo log file after the index is created to find out why sometimes on CI the indices of that index don't get into a started state.

Original commit: elastic/x-pack-elasticsearch@4213d162d6
This commit is contained in:
Martijn van Groningen 2015-09-14 14:55:34 +02:00
parent 2ec09c140e
commit 5e7bfcfa75
1 changed files with 6 additions and 0 deletions

View File

@ -142,9 +142,15 @@
-->
<echo>Creating index1 in cluster1</echo>
<create-index name="index1" port="9700"/>
<!-- TODO: remove this after we know why on CI the shards of index1 don't get into a started state -->
<loadfile property="cluster1-logs" srcFile="${integ.scratch}/elasticsearch-${elasticsearch.version}/logs/cluster1.log" />
<echo>post index1 creation es logs: ${cluster1-logs}</echo>
<echo>Creating index2 in cluster2</echo>
<create-index name="index2" port="9900"/>
<!-- TODO: remove this after we know why on CI the shards of index2 don't get into a started state -->
<loadfile property="cluster2-logs" srcFile="${integ.scratch}/elasticsearch-${elasticsearch.version}/logs/cluster2.log" />
<echo>post index2 creation es logs: ${cluster2-logs}</echo>
</ac:try>
<ac:catch>
<echo>Failed to start tribe node with message: ${failure.message}</echo>