| |
@@ -1844,7 +1844,10 @@
|
| |
sync = threading.Event()
|
| |
def do_rmtree(dirname):
|
| |
sync.wait()
|
| |
- koji.util.rmtree(dirname)
|
| |
+ with self.assertWarns(DeprecationWarning):
|
| |
+ # DeprecationWarning: This process is multi-threaded,
|
| |
+ # use of fork() may lead to deadlocks in the child.
|
| |
+ koji.util.rmtree(dirname)
|
| |
|
| |
threads = []
|
| |
for d in dirs:
|
| |
@@ -1870,7 +1873,10 @@
|
| |
sync = threading.Event()
|
| |
def do_rmtree(dirname):
|
| |
sync.wait()
|
| |
- koji.util.rmtree(dirname)
|
| |
+ with self.assertWarns(DeprecationWarning):
|
| |
+ # DeprecationWarning: This process is multi-threaded,
|
| |
+ # use of fork() may lead to deadlocks in the child.
|
| |
+ koji.util.rmtree(dirname)
|
| |
|
| |
threads = []
|
| |
for n in range(3):
|
| |
Related: https://pagure.io/koji/issue/4188