From 7becb40760ade2ddedb3be3ceb540bdc6afb11d9 Mon Sep 17 00:00:00 2001 From: nikhil-ctds Date: Tue, 12 Nov 2024 13:22:59 +0530 Subject: [PATCH] added manual setting of loadBalancerOverrideBrokerNicSpeedGbps instead of fetching from linux instance --- .../org/apache/pulsar/broker/admin/GetPartitionMetadataTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/pulsar-broker/src/test/java/org/apache/pulsar/broker/admin/GetPartitionMetadataTest.java b/pulsar-broker/src/test/java/org/apache/pulsar/broker/admin/GetPartitionMetadataTest.java index d06f6ea1c56aa..a47c2a30395eb 100644 --- a/pulsar-broker/src/test/java/org/apache/pulsar/broker/admin/GetPartitionMetadataTest.java +++ b/pulsar-broker/src/test/java/org/apache/pulsar/broker/admin/GetPartitionMetadataTest.java @@ -144,6 +144,7 @@ protected void doInitConf() { conf.setBrokerDeleteInactiveTopicsEnabled(false); conf.setBrokerShutdownTimeoutMs(0L); conf.setLoadBalancerSheddingEnabled(false); + conf.setLoadBalancerOverrideBrokerNicSpeedGbps(Optional.of(1.0d)); } protected PulsarClientImpl[] getClientsToTest() {