Cristian Manoni <nethc...@gmail.com> writes:
> and now the test:
> # python3 runtests.py tests 
>
> after some succesful tests:
> tests/t2_block_cache.py:114: cache_tests.test_destroy_deadlock FAILED
>
> ================================================================================
>  
> FAILURES 
> ================================================================================
> ___________________________________________________________________ 
> cache_tests.test_destroy_deadlock 
> ____________________________________________________________________
> Traceback (most recent call last):
>   File "/root/s3ql/s3ql-2.8.1/tests/t2_block_cache.py", line 163, in 
> test_destroy_deadlock
>     self.cache.destroy()
>   File "_pytest.python", line 1009, in __exit__
>     pytest.fail("DID NOT RAISE")
>   File "_pytest.runner", line 456, in fail
>     raise Failed(msg=msg, pytrace=pytrace)
> Failed: DID NOT RAISE
> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 
> Interrupted: stopping after 1 failures 
> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> ============================================================ 1 failed, 104 
> passed, 97 skipped in 5.15 seconds 
> ============================================================
>
> What is missing or what is wrong?
> Can you help me?

Hmm. Does it by any chance help if you apply the following patch?

diff --git a/tests/t2_block_cache.py b/tests/t2_block_cache.py
--- a/tests/t2_block_cache.py
+++ b/tests/t2_block_cache.py
@@ -156,6 +156,7 @@
 
         # Shutdown threads
         llfuse.lock.release()
+        time.sleep(10)
         try:
             with catch_logmsg('Unable to flush cache, no upload threads left 
alive',
                               level=logging.ERROR):


Thanks,
-Nikolaus

-- 
GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F
Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

             »Time flies like an arrow, fruit flies like a Banana.«

-- 
You received this message because you are subscribed to the Google Groups 
"s3ql" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to s3ql+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to