Skip to content

Add stress test (and small fixes)#85

Merged
bbockelm merged 2 commits intoPelicanPlatform:mainfrom
bbockelm:stress_test
Feb 1, 2025
Merged

Add stress test (and small fixes)#85
bbockelm merged 2 commits intoPelicanPlatform:mainfrom
bbockelm:stress_test

Conversation

@bbockelm
Copy link
Collaborator

@bbockelm bbockelm commented Feb 1, 2025

With the small fixes in this PR, the stress test can now be run under ASAN without triggering any crash.

Higher concurrency -- hopefully more likely to trigger threading
errors.
- Ensure we use the stack correctly by using `std::stack` instead of
  a `std::vector`
- Make sure we free an op reference if we can't add it to the multi-handle.
- Avoid a potential string exception by parsing an empty header
@bbockelm
Copy link
Collaborator Author

bbockelm commented Feb 1, 2025

Since time is of the essence here, I'm notifying @jhiemstrawisc this exists but merging anyway.

(It's unclear if any fixes here trigger real-life crashes -- but they are certainly correct)

@bbockelm bbockelm merged commit ad3bec3 into PelicanPlatform:main Feb 1, 2025
3 checks passed
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.

1 participant