fix compilation issue with parsing TimeValue
Original commit: elastic/x-pack-elasticsearch@a7390861be
This commit is contained in:
parent
a12eba49fa
commit
8949e5fcaf
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue