fix compilation issue with parsing TimeValue

Original commit: elastic/x-pack-elasticsearch@a7390861be
This commit is contained in:
jaymode 2015-06-05 09:20:33 -04:00
parent a12eba49fa
commit 8949e5fcaf
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ public class SSLSettingsTests extends ElasticsearchTestCase {
assertThat(sslSettings.trustStoreAlgorithm, is(equalTo("trusted")));
assertThat(sslSettings.sslProtocol, is(equalTo("ssl")));
assertThat(sslSettings.sessionCacheSize, is(equalTo(3)));
assertThat(sslSettings.sessionCacheTimeout, is(equalTo(TimeValue.parseTimeValue("10m", null))));
assertThat(sslSettings.sessionCacheTimeout, is(equalTo(TimeValue.timeValueMinutes(10L))));
}
@Test