Skip to content

Commit

Permalink
fix test code.
Browse files Browse the repository at this point in the history
  • Loading branch information
thetumbled committed May 21, 2024
1 parent 4c8ebfe commit 4658f4e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ public void testFilterBundlesWhileWritingToMetadataStore() throws Exception {
pulsarServices.put(pulsar1.getWebServiceAddress(), pulsar1);
pulsarServices.put(pulsar2.getWebServiceAddress(), pulsar2);
MetadataCache<BundleData> metadataCache = pulsar1.getLocalMetadataStore().getMetadataCache(BundleData.class);
PulsarService leaderBroker = pulsarServices.get(pulsar1.getLeaderElectionService().getCurrentLeader().get().getServiceUrl());
PulsarService leaderBroker = pulsarServices.get("http://" + pulsar1.getLeaderElectionService().getCurrentLeader().get().getBrokerId());
ModularLoadManagerImpl loadManager = (ModularLoadManagerImpl) getField(
leaderBroker.getLoadManager().get(), "loadManager");
int topK = 1;
Expand Down

0 comments on commit 4658f4e

Please sign in to comment.