浏览代码

Ticket 47855 - clear tmp directory at the start of each test

Description:  Clear out the tmp directory before starting each test.

https://fedorahosted.org/389/ticket/47855

Reviewed by: nhosoi(Thanks!)
Mark Reynolds 11 年之前
父节点
当前提交
84477daf5b

+ 3 - 0
dirsrvtests/tickets/ticket47313_test.py

@@ -109,6 +109,9 @@ def topology(request):
         standalone.stop(timeout=10)
         standalone.backupfile = standalone.backupFS()
         standalone.start(timeout=10)
+
+    # clear the tmp directory
+    standalone.clearTmpDir(__file__)
     
     # 
     # Here we have standalone instance up and running

+ 4 - 1
dirsrvtests/tickets/ticket47490_test.py

@@ -272,7 +272,10 @@ def topology(request):
         consumer.stop(timeout=10)
         consumer.backupfile = consumer.backupFS()
         consumer.start(timeout=10)
-    
+
+    # clear the tmp directory
+    standalone.clearTmpDir(__file__)
+
     # 
     # Here we have two instances master and consumer
     # with replication working. Either coming from a backup recovery

+ 3 - 0
dirsrvtests/tickets/ticket47553_single_aci_test.py

@@ -234,6 +234,9 @@ def topology(request):
         master2.stop(timeout=10)
         master2.backupfile = master2.backupFS()
         master2.start(timeout=10)
+
+    # clear the tmp directory
+    standalone.clearTmpDir(__file__)
     
     # 
     # Here we have two instances master and consumer

+ 4 - 1
dirsrvtests/tickets/ticket47560_test.py

@@ -106,7 +106,10 @@ def topology(request):
         standalone.stop(timeout=10)
         standalone.backupfile = standalone.backupFS()
         standalone.start(timeout=10)
-    
+
+    # clear the tmp directory
+    standalone.clearTmpDir(__file__)
+
     # 
     # Here we have standalone instance up and running
     # Either coming from a backup recovery

+ 4 - 1
dirsrvtests/tickets/ticket47573_test.py

@@ -273,7 +273,10 @@ def topology(request):
         consumer.stop(timeout=10)
         consumer.backupfile = consumer.backupFS()
         consumer.start(timeout=10)
-    
+
+    # clear the tmp directory
+    standalone.clearTmpDir(__file__)
+
     # 
     # Here we have two instances master and consumer
     # with replication working. Either coming from a backup recovery

+ 4 - 1
dirsrvtests/tickets/ticket47619_test.py

@@ -203,7 +203,10 @@ def topology(request):
         consumer.stop(timeout=10)
         consumer.backupfile = consumer.backupFS()
         consumer.start(timeout=10)
-    
+
+    # clear the tmp directory
+    standalone.clearTmpDir(__file__)
+
     # 
     # Here we have two instances master and consumer
     # with replication working. Either coming from a backup recovery

+ 4 - 1
dirsrvtests/tickets/ticket47653MMR_test.py

@@ -237,7 +237,10 @@ def topology(request):
         master2.stop(timeout=10)
         master2.backupfile = master2.backupFS()
         master2.start(timeout=10)
-    
+
+    # clear the tmp directory
+    standalone.clearTmpDir(__file__)
+
     # 
     # Here we have two instances master and consumer
     # with replication working. Either coming from a backup recovery

+ 4 - 1
dirsrvtests/tickets/ticket47653_test.py

@@ -134,7 +134,10 @@ def topology(request):
         standalone.stop(timeout=10)
         standalone.backupfile = standalone.backupFS()
         standalone.start(timeout=10)
-    
+
+    # clear the tmp directory
+    standalone.clearTmpDir(__file__)
+
     # 
     # Here we have standalone instance up and running
     # Either coming from a backup recovery

+ 4 - 1
dirsrvtests/tickets/ticket47676_test.py

@@ -249,7 +249,10 @@ def topology(request):
         master2.stop(timeout=10)
         master2.backupfile = master2.backupFS()
         master2.start(timeout=10)
-    
+
+    # clear the tmp directory
+    standalone.clearTmpDir(__file__)
+
     # 
     # Here we have two instances master and consumer
     # with replication working. Either coming from a backup recovery

+ 4 - 1
dirsrvtests/tickets/ticket47721_test.py

@@ -255,7 +255,10 @@ def topology(request):
         master2.stop(timeout=10)
         master2.backupfile = master2.backupFS()
         master2.start(timeout=10)
-    
+
+    # clear the tmp directory
+    standalone.clearTmpDir(__file__)
+
     # 
     # Here we have two instances master and consumer
     # with replication working. Either coming from a backup recovery

+ 3 - 0
dirsrvtests/tickets/ticket47781_test.py

@@ -107,6 +107,9 @@ def topology(request):
         standalone.backupfile = standalone.backupFS()
         standalone.start(timeout=10)
 
+    # clear the tmp directory
+    standalone.clearTmpDir(__file__)
+
     #
     # Here we have standalone instance up and running
     # Either coming from a backup recovery

+ 4 - 1
dirsrvtests/tickets/ticket47787_test.py

@@ -237,7 +237,10 @@ def topology(request):
         master2.stop(timeout=10)
         master2.backupfile = master2.backupFS()
         master2.start(timeout=10)
-    
+
+    # clear the tmp directory
+    standalone.clearTmpDir(__file__)
+
     # 
     # Here we have two instances master and consumer
     # with replication working. Either coming from a backup recovery

+ 4 - 1
dirsrvtests/tickets/ticket47808_test.py

@@ -110,7 +110,10 @@ def topology(request):
         standalone.stop(timeout=10)
         standalone.backupfile = standalone.backupFS()
         standalone.start(timeout=10)
-    
+
+    # clear the tmp directory
+    standalone.clearTmpDir(__file__)
+
     # 
     # Here we have standalone instance up and running
     # Either coming from a backup recovery

+ 3 - 0
dirsrvtests/tickets/ticket47815_test.py

@@ -106,6 +106,9 @@ def topology(request):
         standalone.backupfile = standalone.backupFS()
         standalone.start(timeout=10)
 
+    # clear the tmp directory
+    standalone.clearTmpDir(__file__)
+
     #
     # Here we have standalone instance up and running
     # Either coming from a backup recovery

+ 3 - 0
dirsrvtests/tickets/ticket47819_test.py

@@ -107,6 +107,9 @@ def topology(request):
         standalone.backupfile = standalone.backupFS()
         standalone.start(timeout=60)
 
+    # clear the tmp directory
+    standalone.clearTmpDir(__file__)
+
     # Here we have standalone instance up and running
     # Either coming from a backup recovery
     # or from a fresh (re)init

+ 3 - 0
dirsrvtests/tickets/ticket47823_test.py

@@ -140,6 +140,9 @@ def topology(request):
         standalone.backupfile = standalone.backupFS()
         standalone.start(timeout=10)
 
+    # clear the tmp directory
+    standalone.clearTmpDir(__file__)
+
     #
     # Here we have standalone instance up and running
     # Either coming from a backup recovery

+ 4 - 1
dirsrvtests/tickets/ticket47829_test.py

@@ -151,7 +151,10 @@ def topology(request):
         standalone.stop(timeout=10)
         standalone.backupfile = standalone.backupFS()
         standalone.start(timeout=10)
-    
+
+    # clear the tmp directory
+    standalone.clearTmpDir(__file__)
+
     # 
     # Here we have standalone instance up and running
     # Either coming from a backup recovery