From 8949e5fcaf751a1efb388b9fe4e4cce511dbe525 Mon Sep 17 00:00:00 2001 From: jaymode Date: Fri, 5 Jun 2015 09:20:33 -0400 Subject: [PATCH] fix compilation issue with parsing TimeValue Original commit: elastic/x-pack-elasticsearch@a7390861bea95306efc7bc6afd5a402dd0236d73 --- .../java/org/elasticsearch/shield/ssl/SSLSettingsTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/elasticsearch/shield/ssl/SSLSettingsTests.java b/src/test/java/org/elasticsearch/shield/ssl/SSLSettingsTests.java index 23085daa735..0442bcab13c 100644 --- a/src/test/java/org/elasticsearch/shield/ssl/SSLSettingsTests.java +++ b/src/test/java/org/elasticsearch/shield/ssl/SSLSettingsTests.java @@ -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