You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This might be a question if there's already a way to do this effectively but here's a feature:
When robot enables listener, at constructor time, robot is not running and for example calling BuiltIn().get_library_instance throws the exception. So, listener can only know if execution happens under pabot only when start_suite() is called unless using traceback stack frames to see if traceback contains any pabot related code.
Given these, would it be possible to expose pabot's variables like PABOTLIBURI and PABOTQUEUEINDEX as environment variables ? This would allow listener more room to detect if it can work correctly as-is or additional code paths be enabled to cover data change between running pabot child nodes via pabotlib or disable the listener alltogether if its not intended to be used with pabot ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
This might be a question if there's already a way to do this effectively but here's a feature:
When robot enables listener, at constructor time, robot is not running and for example calling
BuiltIn().get_library_instancethrows the exception. So, listener can only know if execution happens under pabot only whenstart_suite()is called unless using traceback stack frames to see if traceback contains any pabot related code.Given these, would it be possible to expose pabot's variables like PABOTLIBURI and PABOTQUEUEINDEX as environment variables ? This would allow listener more room to detect if it can work correctly as-is or additional code paths be enabled to cover data change between running pabot child nodes via pabotlib or disable the listener alltogether if its not intended to be used with pabot ?
Beta Was this translation helpful? Give feedback.
All reactions