
sagetv-addons - issue #287
Add support for modification of exe args from test script
Allow the test script to dynamically modify the exe args.
Comment #1
Posted on Jan 29, 2011 by Grumpy HippoAny chance of modifying the number of resources consumed in the test script as well?
Comment #2
Posted on Jan 29, 2011 by Grumpy CatWhat would be the use case for that? Either way, it's not possible because by the time the test script is launched, the server's already calculated the resource requirements to ensure that it can launch the task to the assigned client. But I'd still like to know why/how you'd use this feature, if it were possible. :)
Comment #3
Posted on Jan 29, 2011 by Grumpy CatThis issue was closed by revision r1355.
Comment #4
Posted on Jan 30, 2011 by Grumpy HippoMakes sense about allocation having already taken place.
My use case would be to combine 3 comskip tasks into 1. I currently have 1 task for mpeg comskipping that uses 33 resources, 1 for h.264 comskipping that uses 67 resources, and a 3rd comskip for a special needs channel (different comskip.ini). Special needs channels could be combined with their respective mpeg or h.264 comskip task to limit it to 2 tasks, I just haven't seen to that yet. Currently I have all 3 tasks assigned to new recordings so whichever is appropriate will be used and the others will fail in the testing process. If re-allocation of resources was possible all of these could be combined into a single comskip task that calls comskip with the appropriate ini file and sets the resources as required.
Comment #5
Posted on Jan 30, 2011 by Grumpy CatHmm... I like that idea, could even use it myself (for basically the same reason). Allow the client to tweak its resource usage at runtime - it's a bit of work, but not impossible. Basically, you'd always start with assigning the lowest value to the task and then increase it at runtime as necessary. When the task is completed the resources are reset. I like it! Can you open a new ticket for this, please?
Comment #6
Posted on May 12, 2011 by Grumpy CatFix verified.
Status: Verified
Labels:
Type-Enhancement
Priority-Medium
Plugin-SJQ
OpSys-All
Milestone-SJQ4.0.0
Component-Logic