This allows defining session independent locks with the DEVICE_LOCKS … - #552
This allows defining session independent locks with the DEVICE_LOCKS …#552MarcusZuber wants to merge 10 commits into
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #552 +/- ##
==========================================
- Coverage 83.45% 82.39% -1.07%
==========================================
Files 136 137 +1
Lines 11279 11696 +417
==========================================
+ Hits 9413 9637 +224
- Misses 1866 2059 +193 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
@tfarago : Do you have an idea how we could test the session-locks elegantly without system calls? |
|
Looks useful. |
Write a mockup |
323cb08 to
e983ad0
Compare
|
Some explanation about e983ad0 :
|
…(list of strings) variable In a session file you can add e.g. DEVICE_LOCKS = ['my_camera1', 'reco_1_server'] to prevent the usage of devices that should be accessed only once and adding the same entry in another session file.
e983ad0 to
53c804b
Compare
…(list of strings) variable
In a session file you can add e.g. DEVICE_LOCKS = ['my_camera1', 'reco_1_server'] to prevent the usage of devices that should be accessed only once and adding the same entry in another session file.
This exends the MULTIINSTANCE implementation. I can now specify sets of locks in session files.
The use case is, that we often use the same devices (which are somethimes not happy to be accessed multiple times) from diffrent sessions.
I can now do stuff like this:
TODO: