From b378ff780bd4e518c6df51af240731b6ac914e1c Mon Sep 17 00:00:00 2001 From: Jason Tedor Date: Mon, 27 Jun 2016 12:36:18 -0400 Subject: [PATCH] Modify poll interval setting in native realm test This commit modifies the construction of the poll interval setting in the native realm tests in response to upstream change elastic/elasticsearchelastic/elasticsearch#2f638b5a23597967a98b1ced1deac91d64af5a44. Original commit: elastic/x-pack-elasticsearch@c6f60f51f46faba2eb6442f8d58cd9643c51fa59 --- .../org/elasticsearch/integration/ClearRolesCacheTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elasticsearch/x-pack/security/src/test/java/org/elasticsearch/integration/ClearRolesCacheTests.java b/elasticsearch/x-pack/security/src/test/java/org/elasticsearch/integration/ClearRolesCacheTests.java index d11065952ae..a9eca134b68 100644 --- a/elasticsearch/x-pack/security/src/test/java/org/elasticsearch/integration/ClearRolesCacheTests.java +++ b/elasticsearch/x-pack/security/src/test/java/org/elasticsearch/integration/ClearRolesCacheTests.java @@ -83,7 +83,7 @@ public class ClearRolesCacheTests extends NativeRealmIntegTestCase { logger.debug("using poller interval [{}]", pollerInterval); return Settings.builder() .put(super.nodeSettings(nodeOrdinal)) - .put(NativeRolesStore.POLL_INTERVAL_SETTING.getKey(), pollerInterval) + .put(NativeRolesStore.POLL_INTERVAL_SETTING.getKey(), pollerInterval.getStringRep()) .put(NetworkModule.HTTP_ENABLED.getKey(), true) .build(); }