Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,10 @@
import org.apache.pulsar.PulsarVersion;
import org.apache.pulsar.broker.BrokerTestUtil;
import org.apache.pulsar.broker.PulsarService;
import org.apache.pulsar.broker.ServiceConfiguration;
import org.apache.pulsar.broker.service.ServerCnx;
import org.apache.pulsar.broker.service.persistent.PersistentTopic;
import org.apache.pulsar.broker.storage.ManagedLedgerStorage;
import org.apache.pulsar.broker.storage.ManagedLedgerStorageClass;
import org.apache.pulsar.broker.testcontext.PulsarTestContext;
import org.apache.pulsar.broker.testcontext.SpyConfig;
import org.apache.pulsar.client.admin.PulsarAdminException;
import org.apache.pulsar.client.api.schema.GenericRecord;
import org.apache.pulsar.client.impl.BatchMessageIdImpl;
Expand Down Expand Up @@ -155,14 +152,6 @@ protected void setup() throws Exception {
super.producerBaseSetup();
}

@Override
protected PulsarTestContext.Builder createPulsarTestContextBuilder(ServiceConfiguration conf) {
return super.createPulsarTestContextBuilder(conf)
.spyConfig(SpyConfig.builder()
.managedLedgerStorage(SpyConfig.SpyType.SPY_ALSO_INVOCATIONS)
.build());
}

@AfterMethod(alwaysRun = true)
public void cleanupAfterMethod() throws Exception {
try {
Expand Down