Commit d17efaf
committed
test: Create ParallelPGMapper object before start threadpool
In the case of creating a ParallelPGMapper object after
starting the threadpool the test case might crash.
The test case is crash while worker thread is trying to
delete a job but the object is still in the construction phase
not fully constructed.
Solution: To avoid a crash create the object before start
a threadpool.
Fixes: https://tracker.ceph.com/issues/42884
Signed-off-by: Mohit Agrawal <[email protected]>1 parent 1272408 commit d17efaf
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
311 | | - | |
312 | 311 | | |
| 312 | + | |
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
| |||
0 commit comments