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

Add tests for periodic jobs #295

Open
alanking opened this issue Oct 7, 2024 · 1 comment
Open

Add tests for periodic jobs #295

alanking opened this issue Oct 7, 2024 · 1 comment
Labels
Milestone

Comments

@alanking
Copy link
Collaborator

alanking commented Oct 7, 2024

There is currently no testing around periodic jobs (i.e. jobs which use the -i option of irods_sync start). Add some. Basic tests cases would include...

  • Schedule sync, add something (and/or remove something!), wait for it to sync again
  • Invalid interval values (non-numbers, negative values, too-large values, etc.)
  • Jobs which take longer to complete than the specified interval to ensure that the same sync job is not getting scheduled simultaneously

I know in the relatively recent past we have started shying away from this feature, but it still exists, so it needs tests. If we don't want it to exist, we should deprecate and remove it.

@alanking alanking added this to the 0.7.0 milestone Oct 8, 2024
@alanking
Copy link
Collaborator Author

alanking commented Oct 8, 2024

Will probably be needed for #139

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant