[389-commits] dirsrvtests/tickets

thierry bordaz tbordaz at fedoraproject.org
Tue Dec 3 08:20:39 UTC 2013


 dirsrvtests/tickets/ticket47490_test.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit fc65a9cb8b9f432e3e6b4280be8f34ceef65fd47
Author: Thierry bordaz (tbordaz) <tbordaz at redhat.com>
Date:   Tue Dec 3 09:16:41 2013 +0100

    Ticket 47586 - Need to rebind after a stop (fix to run direct python script)
    
    Bug Description:
    	After a restart we need to rebind to the instance.
    	The fixture restore the instance from a backup
    	that means we need to rebind after the restore
    
    Fix Description:
    
    	When creating the topology object, rebind the instance
    
    https://fedorahosted.org/389/ticket/47586
    
    Reviewed by: Rich Megginson (thanks Rich)
    
    Platforms tested: F19
    
    Flag Day: no
    
    Doc impact: no

diff --git a/dirsrvtests/tickets/ticket47490_test.py b/dirsrvtests/tickets/ticket47490_test.py
index b6e591e..4fa8ffd 100644
--- a/dirsrvtests/tickets/ticket47490_test.py
+++ b/dirsrvtests/tickets/ticket47490_test.py
@@ -49,8 +49,8 @@ def _ds_rebind_instance(dirsrv):
 
 class TopologyMasterConsumer(object):
     def __init__(self, master, consumer):
-        self.master = master
-        self.consumer = consumer
+        self.master = _ds_rebind_instance(master)
+        self.consumer = _ds_rebind_instance(consumer)
 
 def pattern_errorlog(file, log_pattern):
     try:




More information about the 389-commits mailing list