summaryrefslogtreecommitdiffstats
path: root/src/tests/t_iprop.py
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2012-10-15 13:11:18 -0400
committerGreg Hudson <ghudson@mit.edu>2012-10-15 13:11:18 -0400
commit4c9da1b84fe159e01038c1bd83b5d983aa8e3dd3 (patch)
tree1c0b6e1b66a7667ab7477b242e070603d1ae94b5 /src/tests/t_iprop.py
parent1ea3986a6b0355ceffa49de55fe8450ff00933fd (diff)
downloadkrb5-4c9da1b84fe159e01038c1bd83b5d983aa8e3dd3.tar.gz
krb5-4c9da1b84fe159e01038c1bd83b5d983aa8e3dd3.tar.xz
krb5-4c9da1b84fe159e01038c1bd83b5d983aa8e3dd3.zip
Wait for correct message in t_iprop.py
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.
Diffstat (limited to 'src/tests/t_iprop.py')
-rw-r--r--src/tests/t_iprop.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tests/t_iprop.py b/src/tests/t_iprop.py
index aa29dff791..7a96a7ca70 100644
--- a/src/tests/t_iprop.py
+++ b/src/tests/t_iprop.py
@@ -1,7 +1,6 @@
#!/usr/bin/python
import os
-import time
from k5test import *
@@ -17,7 +16,7 @@ def wait_for_prop(realm, full_expected):
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')