[TEST] Use the test's Settings.Builder in the test rather than Settings.EMPTY
Original commit: elastic/x-pack-elasticsearch@0d12e2c471476f9093e99e50f480a6ceb7042274
@@ -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();
