[27128] in CVS-changelog-for-Kerberos-V5
krb5 commit: Wait for correct message in t_iprop.py
daemon@ATHENA.MIT.EDU (Greg Hudson)
Mon Oct 15 13:11:55 2012
Date: Mon, 15 Oct 2012 13:11:37 -0400
From: Greg Hudson <ghudson@mit.edu>
Message-Id: <201210151711.q9FHBbMA029116@drugstore.mit.edu>
To: cvs-krb5@mit.edu
Reply-To: krbdev@mit.edu
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cvs-krb5-bounces@mit.edu
https://github.com/krb5/krb5/commit/4c9da1b84fe159e01038c1bd83b5d983aa8e3dd3
commit 4c9da1b84fe159e01038c1bd83b5d983aa8e3dd3
Author: Greg Hudson <ghudson@mit.edu>
Date: Mon Oct 15 13:11:18 2012 -0400
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.
src/tests/t_iprop.py | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/src/tests/t_iprop.py b/src/tests/t_iprop.py
index aa29dff..7a96a7c 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')
_______________________________________________
cvs-krb5 mailing list
cvs-krb5@mit.edu
https://mailman.mit.edu/mailman/listinfo/cvs-krb5