I have been experiencing at my work has been experiencing random connection timeouts in our azure CI pipelines. The cause may be port exhaustion on the CI machines.
The Delete All Sessions keyword calls the empty_cache method on a robot.utils.connection_cache object. But I think that is incorrect. since all it does is remove any references to the session objects and lets the garbage collector deal with it.
Instead, the keyword should call the close_all method of connection_cache which actually calls close() on the session objects and then empties the cache.
I have been experiencing at my work has been experiencing random connection timeouts in our azure CI pipelines. The cause may be port exhaustion on the CI machines. The Delete All Sessions keyword calls the
empty_cache
method on arobot.utils.connection_cache
object. But I think that is incorrect. since all it does is remove any references to the session objects and lets the garbage collector deal with it. Instead, the keyword should call theclose_all
method of connection_cache which actually callsclose()
on the session objects and then empties the cache.