diff --git a/test/int/test_joining.py b/test/int/test_joining.py
index 094ffac528cf847140989619dc6bf17c41923bbc..05ac57288add6dba41d8fea6140152a1c1f851f4 100644
--- a/test/int/test_joining.py
+++ b/test/int/test_joining.py
@@ -161,6 +161,7 @@ def test_replication(cluster: Cluster):
     i2.restart()
     wait_replicated(i2)
 
+    i2.wait_online()
     i2.promote_or_fail()
 
     i1.assert_raft_status("Follower")