-
Notifications
You must be signed in to change notification settings - Fork 10
Add test for tar deletion #404
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
Conversation
| check_log_has "zstash" ls_${case_name}_src2_output.log | ||
| ls ${src_dir}/${case_name}/zstash_demo/zstash 2>&1 | tee ls_${case_name}_src3_output.log | ||
| check_log_has "index.db" ls_${case_name}_src3_output.log | ||
| check_log_does_not_have "tar" ls_${case_name}_src3_output.log # tar is deleted at src |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Passes for blocking, fails for non-blocking, confirming #374.
|
Using the code of #405, all 4 tests pass. Using the code of
|
|
Remaining TODO:
|
forsyth2
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@chengzhuzhang This is just a test addition, but let me know if you would like to review before I merge it.
The results are:
==========================================
TEST RESULTS
==========================================
✓ blocking_non-keep PASSED
✗ non-blocking_non-keep FAILED
✓ blocking_keep PASSED
✓ non-blocking_keep PASSED
==========================================
TEST SUMMARY
==========================================
Total tests: 4
Passed: 3
Failed: 1
==========================================
This is exactly as expected, given #374. I decided to make this test addition a distinct PR from the fix #405 because I wanted to make sure it showed this failure when testing on main. Alternatively, this test could simply be merged as part of that PR.
|
@forsyth2 I I think the change looks okay. my preference would be having this type of specific testing change together with the actual code change to reduce the number of PR and review cycle. |
Ok, I can include it as part of #405 then. I mainly just wanted to make sure it did in fact fail on |
I think you can just merge this pull request as is. For future testing PRs, we can consider to bundle with the PR with actual code change. |
|
Sounds good, thanks, merging. |
Summary
Objectives:
mainwhen using--non-blocking, given [Bug]: tar files are not deleted after successful globus transfer #374. After merging Delete transferred files #405, it should pass. (For this reason, I specifically made this a separate pull request, allowing us to test both onmainand with the fixes of Delete transferred files #405).Issue resolution:
Select one: This pull request is...
Small Change