-
Notifications
You must be signed in to change notification settings - Fork 26
[VAULT-34754] Add a concurrency test to the regexp module #166
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
base: main
Are you sure you want to change the base?
[VAULT-34754] Add a concurrency test to the regexp module #166
Conversation
guygrigsby
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.
LGTM
raskchanky
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.
…exercise MustCompileInterned; fixed a typo in the godoc comment
2cd7b54 to
668bc83
Compare
sgmiller
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.
Do we need the entire license in here since it's in the parent (the whole project?)
Otherwise lgtm
Good catch, thanks! Fixed in dfdfa51. |

Adds a little test that stresses the new interned regexp library by compiling and accessing the same pattern from a hundred goroutines.
PCI review checklist
If applicable, I've documented a plan to revert these changes if they require more than reverting the pull request.
If applicable, I've worked with GRC to document the impact of any changes to security controls.
Examples of changes to controls include access controls, encryption, logging, etc.
If applicable, I've worked with GRC to ensure compliance due to a significant change to the in-scope PCI environment.
Examples include changes to operating systems, ports, protocols, services, cryptography-related components, PII processing code, etc.