Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
typotter committed Oct 31, 2024
1 parent b7de524 commit aa4ab34
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -566,9 +566,6 @@ public void testDifferentCacheFilesPerKey() throws IOException {

@Test
public void testForceIgnoreCache() throws IOException, ExecutionException, InterruptedException {
// Note: This test requires hooks into the `CompletableFuture` returned by the builder to
// represent a more "immediate" processing of assignments

cacheUselessConfig();
// Initialize with "useless" cache available.
new EppoClient.Builder(DUMMY_API_KEY, ApplicationProvider.getApplicationContext())
Expand Down Expand Up @@ -604,8 +601,6 @@ private void cacheUselessConfig() throws IOException {
new ConfigCacheFile(
ApplicationProvider.getApplicationContext(), safeCacheKey(DUMMY_API_KEY));

cacheFile.delete(); // Deletes file if exists before creating a new one.

Configuration config = new Configuration.Builder(uselessFlagConfigBytes).build();

cacheFile.getOutputStream().write(config.serializeFlagConfigToBytes());
Expand Down

0 comments on commit aa4ab34

Please sign in to comment.