Skip to content

disable recent job results list for sparc and improve test#757

Merged
franku merged 4 commits intomasterfrom
dev/franku/master/recent-job-results-list
Mar 2, 2021
Merged

disable recent job results list for sparc and improve test#757
franku merged 4 commits intomasterfrom
dev/franku/master/recent-job-results-list

Conversation

@franku
Copy link
Contributor

@franku franku commented Mar 1, 2021

  • rename test "recently-used-jobs" to "statefile"
  • disable all "statefile" tests for sparc
  • use temporary state files instead of original files in the source code which may be deleted during the test in case of an error

Checklist

Add some information

  • Add a small description to the CHANGELOG.md file and refer to your PR using this syntax '[PR #xyz]'
  • Add your name to the AUTHORS file

Keep spirit!

  • Do not be afraid to hand in a PR!

Copy link
Member

@pstorz pstorz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would suggest to change the name of the tests:

recent_job_results_list -> statefile:
read_job_results_from_flie -> read
write_job_results_to_file -> write
read_job_results_from_file_truncated_jobs -> handle_truncated_jobs
read_job_results_from_file_truncated_header -> handle_truncated_headers
read_job_results_from_file_not_exist -> handle_empty_file

@franku franku force-pushed the dev/franku/master/recent-job-results-list branch from 9f24f0a to 972a0e3 Compare March 2, 2021 12:10
franku added 2 commits March 2, 2021 16:40
- renamed unittest "recent_job_results_list" to "statefile"
@franku franku force-pushed the dev/franku/master/recent-job-results-list branch from cbcbd67 to 801dd19 Compare March 2, 2021 15:40
Copy link
Member

@pstorz pstorz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@franku franku merged commit f34b120 into master Mar 2, 2021
@franku franku deleted the dev/franku/master/recent-job-results-list branch March 2, 2021 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants