-
Notifications
You must be signed in to change notification settings - Fork 233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Grid self healing should cleanup temp files left by Selion or browsers. #267
Comments
I'm not sure I agree that this should be a capability of the SeLion Grid "self healing".. How would it identify a file in |
The self healing is fully aware of when the browsers / tests are running and therefore is the ideal place to cleanup these tmp files that are related to browsers. |
Okay, yes it knows when/what browsers are launched, but I don't see it. How do you map to the correct files in /tmp? Are you proposing we monitor /tmp for changes with each browser invocation? Is there an API that tells us which/where the temp profile exists so we can delete it? |
You can monitor /tmp but I think a simpler cleanup process is possible. Wait till all tests have finished/stopped and browsers terminated during self healing then remove these directories: /tmp/anonymous*webdriver-profile Or simply call: The main disadvantage here is this assume(s) one SeLion node process is running. |
Grid node self healing should cleanup /tmp files left upon browser, node shutdown.
Some example files in /tmp are directories with uuid names, anonymous webdriver profiles etc.
256ed1f9-8aae-4b07-bf33-06bf1a52786f/
. . .
anonymous4623780548331041862webdriver-profile/
..
The text was updated successfully, but these errors were encountered: