Skip to content

Commit ec03785

Browse files
committed
fix: kraft & balancer test issues
1 parent a76a902 commit ec03785

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/integration/test_balancer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def test_relate_not_enough_brokers(self, juju: jubilant.Juju):
109109
juju.integrate(PRODUCER_APP, APP_NAME)
110110

111111
juju.wait(
112-
lambda status: all_active_idle(
112+
lambda status: jubilant.all_agents_idle(
113113
status, *list({APP_NAME, CONTROLLER_NAME, self.balancer_app})
114114
),
115115
delay=3,

tests/integration/test_kraft.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ def test_leader_change(self, juju: jubilant.Juju):
242242
)
243243

244244
# test cluster stability by adding a new controller
245-
juju.add_units(self.controller_app, num_units=1)
245+
juju.add_unit(self.controller_app, num_units=1)
246246
time.sleep(60)
247247

248248
# ensure unit is added to dynamic quorum

0 commit comments

Comments
 (0)