Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.7
-
Component/s: None
-
Labels:None
Description
Since some tests depend on having some modules installed on the target, I've put together a simple programmatic install step to be run during tests (to ensure we have the artifacts we need).
the problem is that I need to know when the install process finishes, and ideally, have an optional blocking operation for a book install process.
This can be partially solved by putting some method on the installer which join() all the worker threads, but ideally, I should be able to specify an external threadpool/worker.
+1 I could do with a synchronous way of doing this. join() wasn't an option for me, as the worker threads are never returned to the caller. I've had to look up the progress message and determine from that whether it's finished. Or do a thread.sleep to wait for status of book to be installed.