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

Fix bad objcopy test cleanup on failure #5320

Merged
merged 2 commits into from
Feb 17, 2025

Conversation

mattjala
Copy link
Contributor

@mattjala mattjala commented Feb 17, 2025

If test_copy_dataset_open() fails after creating and before closing did3 and did4 in the main test body, they will not be closed during error cleanup. This delays the closing of the test file and causes file creation conflicts later on.

The same logic applies to fid_ext in test_copy_ext_link()

@mattjala mattjala added Priority - 2. Medium ⏹ It would be nice to have this in the next release Component - Testing Code in test or testpar directories, GitHub workflows Type - Bug / Bugfix Please report security issues to [email protected] instead of creating an issue on GitHub labels Feb 17, 2025
qkoziol
qkoziol previously approved these changes Feb 17, 2025
@lrknox lrknox merged commit e07da0c into HDFGroup:develop Feb 17, 2025
77 of 78 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component - Testing Code in test or testpar directories, GitHub workflows Priority - 2. Medium ⏹ It would be nice to have this in the next release Type - Bug / Bugfix Please report security issues to [email protected] instead of creating an issue on GitHub
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants