Skip to content

Commit

Permalink
[Java] Remove Archive.
Browse files Browse the repository at this point in the history
  • Loading branch information
vyazelenko committed Jan 16, 2025
1 parent 3472c60 commit 97aa735
Showing 1 changed file with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,9 @@
import io.aeron.CommonContext;
import io.aeron.ExclusivePublication;
import io.aeron.Subscription;
import io.aeron.archive.Archive;
import io.aeron.archive.ArchiveThreadingMode;
import io.aeron.logbuffer.LogBufferDescriptor;
import io.aeron.test.EventLogExtension;
import io.aeron.test.InterruptingTestCallback;
import io.aeron.test.SystemTestWatcher;
import io.aeron.test.TestContexts;
import io.aeron.test.Tests;
import io.aeron.test.driver.TestMediaDriver;
import org.agrona.CloseHelper;
Expand Down Expand Up @@ -69,14 +65,6 @@ void before(@TempDir final Path tempDir)
.spiesSimulateConnection(false)
.dirDeleteOnStart(true);

final Archive.Context archiveCtx = TestContexts.localhostArchive()
.aeronDirectoryName(aeronDirectoryName)
.deleteArchiveOnStart(true)
.archiveDir(tempDir.resolve("archive").toFile())
.segmentFileLength(LogBufferDescriptor.TERM_MIN_LENGTH * 2)
.fileSyncLevel(0)
.threadingMode(ArchiveThreadingMode.SHARED);

driver = TestMediaDriver.launch(driverCtx, systemTestWatcher);
systemTestWatcher.dataCollector().add(driverCtx.aeronDirectory());

Expand Down

0 comments on commit 97aa735

Please sign in to comment.