[TEST] Use the test's Settings.Builder in the test rather than Settings.EMPTY

Original commit: elastic/x-pack-elasticsearch@5b7d7bc652
This commit is contained in:
Chris Earle 2017-11-03 16:56:01 -04:00
parent e492f3c654
commit 5b85453c9a
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ public class ClusterStatsCollectorTests extends BaseCollectorTestCase {
when(xPackUsageFuture.actionGet()).thenReturn(xPackUsageResponse);
final ClusterStatsCollector collector =
new ClusterStatsCollector(Settings.EMPTY, clusterService, licenseState, client, licenseService);
new ClusterStatsCollector(settings.build(), clusterService, licenseState, client, licenseService);
assertEquals(timeout, collector.getCollectionTimeout());
final long interval = randomNonNegativeLong();