The message "Got incremental updates from the master" precedes
actually replaying the updates on the slave. Instead look for
"Incremental updates:" (the statistics message), which happens just
after the updates are replayed.
Also, we don't need to import time now that we're not sleeping.
#!/usr/bin/python
import os
-import time
from k5test import *
fail('kpropd process exited unexpectedly')
output('kpropd: ' + line)
- if 'KDC is synchronized' in line or 'Got incremental updates' in line:
+ if 'KDC is synchronized' in line or 'Incremental updates:' in line:
output('*** Sync complete\n')
if full_expected and not full_seen:
fail('Expected full dump but saw only incremental')