elasticsearch/elasticsearch — pull request #2390 by gatoatigrado (2012-11-09 00:53:32+00:00)
Title: Interpret .yaml files as YAML instead of JSON

This is a very minor change to allow the ElasticSearch config to have a ".yaml" extension. The current version interprets ".yaml" files as JSON.

One test is currently failing, though I don't think this is related to my change. Here's the surefire report,

-------------------------------------------------------------------------------
Test set: TestSuite
-------------------------------------------------------------------------------
Tests run: 920, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1,537.94 sec <<< FAILURE!
testSimpleRecovery(org.elasticsearch.test.integration.recovery.SimpleRecoveryTests) Time elapsed: 73826 sec <<< FAILURE!
java.lang.AssertionError:
Expected:
but: was
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:8)
at org.elasticsearch.test.integration.recovery.SimpleRecoveryTests.testSimpleRecovery(SimpleRecoveryTests.java:101)