File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
pulsar-broker/src/test/java/org/apache/pulsar/broker/admin Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 9696import org .apache .pulsar .metadata .cache .impl .MetadataCacheImpl ;
9797import org .apache .pulsar .metadata .impl .AbstractMetadataStore ;
9898import org .apache .pulsar .metadata .impl .MetadataStoreFactoryImpl ;
99+ import org .apache .pulsar .metadata .impl .ZKMetadataStore ;
99100import org .apache .pulsar .policies .data .loadbalancer .LocalBrokerData ;
100101import org .apache .zookeeper .KeeperException .Code ;
101102import org .apache .zookeeper .MockZooKeeper ;
@@ -246,7 +247,8 @@ public void internalConfigurationRetroCompatibility() throws Exception {
246247 final InternalConfigurationData newData = ObjectMapperFactory .getThreadLocal ()
247248 .convertValue (oldDataJson , InternalConfigurationData .class );
248249
249- assertEquals (newData .getMetadataStoreUrl (), conf .getMetadataStoreUrl ());
250+ assertEquals (newData .getMetadataStoreUrl (),
251+ ZKMetadataStore .ZK_SCHEME_IDENTIFIER + conf .getMetadataStoreUrl ());
250252 assertEquals (newData .getConfigurationMetadataStoreUrl (), oldDataModel .getConfigurationStoreServers ());
251253 assertEquals (newData .getLedgersRootPath (), oldDataModel .getLedgersRootPath ());
252254 assertEquals (newData .getBookkeeperMetadataServiceUri (), oldDataModel .getBookkeeperMetadataServiceUri ());
You can’t perform that action at this time.
0 commit comments