##// END OF EJS Templates
wrap db before host dir is gone in new test (v2)
Aleksey Bogdanov -
Show More
@@ -242,6 +242,7 b' def test_get_tail_session_awareness():'
242 242 get_source = lambda x: x[2]
243 243 hm1 = None
244 244 hm2 = None
245 ha = None
245 246 try:
246 247 # hm1 creates a new session and adds history entries,
247 248 # ha catches up
@@ -298,8 +299,9 b' def test_get_tail_session_awareness():'
298 299 finally:
299 300 if hm1:
300 301 hm1.save_thread.stop()
302 hm1.db.close()
301 303 if hm2:
302 304 hm2.save_thread.stop()
303 hm = hm1 or hm2
304 if hm:
305 hm.db.close()
305 hm2.db.close()
306 if ha:
307 ha.db.close()
General Comments 0
You need to be logged in to leave comments. Login now