Move AccountCleanerTest out of the test package; reduce visibility of test-only fields

This commit is contained in:
Jon Chambers authored and Jon Chambers committed 2022-05-25 14:19:04 -04:00
1 parent c38572307d
commit a4ca1ef1a8
2 files changed
+3 -3

No files matched your search

@@ -30,7 +30,7 @@ public class AccountCleaner extends AccountDatabaseCrawlerListener {
private static final Histogram deletableAccountHistogram = metricRegistry.histogram(name(AccountCleaner.class, "deletableAccountsPerChunk"));
@VisibleForTesting
public static final int MAX_ACCOUNT_UPDATES_PER_CHUNK = 40;
static final int MAX_ACCOUNT_UPDATES_PER_CHUNK = 40;
private final AccountsManager accountsManager;
@@ -1,8 +1,8 @@
/*
* Copyright 2013-2020 Signal Messenger, LLC
* Copyright 2013-2022 Signal Messenger, LLC
* SPDX-License-Identifier: AGPL-3.0-only
*/
package org.whispersystems.textsecuregcm.tests.storage;
package org.whispersystems.textsecuregcm.storage;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.ArgumentMatchers.eq;