Skip to content
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

Delete old videos in hub before downloading a new video #162

Merged
merged 2 commits into from
Oct 9, 2015

Conversation

rgonalo
Copy link
Contributor

@rgonalo rgonalo commented Sep 22, 2015

Delete old videos in hub before downloading a new video from any node, when there is more than 'videos_to_keep' videos in hub.
If hub is configured with "videos_to_keep": "0", the video will not be downloaded.
Fix this issue: #92

@smccarthy
Copy link
Collaborator

One of the new tests failed because the video_ouput directory doesn't exist. Should this directory be created under : /src/test/resources/fixtures/video_output ? Or somewhere else?

This is the test : testDeleteOldMovies(com.groupon.seleniumgridextras.videorecording.VideoRecorderCallableTest

@rgonalo
Copy link
Contributor Author

rgonalo commented Oct 8, 2015

You are right, now video_output directory is created if it does not exist.

smccarthy added a commit that referenced this pull request Oct 9, 2015
Delete old videos in hub before downloading a new video
@smccarthy smccarthy merged commit 17b325f into groupon:master Oct 9, 2015
@smccarthy
Copy link
Collaborator

All tests passed. Merging in.

@rgonalo rgonalo deleted the hub_videos branch November 13, 2015 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants