91
94
# The timeout is necessary in BDB 4.5, since DB_EVENT_REP_STARTUPDONE
92
95
# is not generated if the master has no new transactions.
93
96
# This is solved in BDB 4.6 (#15542).
96
98
while (time.time()<timeout) and not (self.confirmed_master and self.client_startupdone) :
98
100
if db.version() >= (4,6) :
99
101
self.assertTrue(time.time()<timeout)