-
Notifications
You must be signed in to change notification settings - Fork 6
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
Azure load tests #1665
base: main
Are you sure you want to change the base?
Azure load tests #1665
Conversation
… running in Azure Co-authored-by: somesylvie <[email protected]>
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
THREAD_OBJECT_MAP.set(threadObjectMap); | ||
} | ||
|
||
public static void clearThreadRegistrations() { |
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.
Consider using a more robust thread-local cleanup strategy. The current use of THREAD_OBJECT_MAP.remove() might lead to memory leaks if not all paths that add to the thread-local store also ensure to clear it after use. [important]
@@ -226,6 +227,12 @@ protected DomainResponse handleMessageRequest( | |||
boolean markMetadataAsFailed = false; | |||
String errorMessage = ""; | |||
|
|||
if ("True".equals(request.getHeaders().get("Load-Test")) |
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.
Refactor the conditional logic for registering the MockRSEndpointClient to ensure it's only applied under the correct conditions and does not interfere with production settings. [important]
@@ -118,6 +121,10 @@ def test_start(environment): | |||
|
|||
@events.quitting.add_listener | |||
def assert_stats(environment): | |||
if in_azure: |
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.
Ensure that the environment-specific paths and configurations, such as file paths and environment variables, are documented and validated to prevent runtime errors in different environments. [medium]
PR Code Suggestions ✨Explore these optional code suggestions:
|
etor/src/main/java/gov/hhs/cdc/trustedintermediary/etor/EtorDomainRegistration.java
Outdated
Show resolved
Hide resolved
etor/src/main/java/gov/hhs/cdc/trustedintermediary/etor/EtorDomainRegistration.java
Show resolved
Hide resolved
etor/src/main/java/gov/hhs/cdc/trustedintermediary/etor/EtorDomainRegistration.java
Show resolved
Hide resolved
Co-Authored-By: Jeremy Rosenfeld <[email protected]> Co-Authored-By: halprin <[email protected]>
…intermediary into azure-load-tests
Co-Authored-By: Samuel Aquino <[email protected]> Co-Authored-By: Sylvie <[email protected]>
Co-authored-by: pluckyswan <[email protected]> Co-authored-by: saquino0827 <[email protected]> Co-authored-by: James Herr <[email protected]> Co-authored-by: Sylvie <[email protected]> Co-authored-by: jcrichlake <[email protected]>
Co-authored-by: pluckyswan <[email protected]> Co-authored-by: saquino0827 <[email protected]> Co-authored-by: James Herr <[email protected]> Co-authored-by: Sylvie <[email protected]> Co-authored-by: jcrichlake <[email protected]>
Co-Authored-By: Sylvie <[email protected]> Co-Authored-By: halprin <[email protected]> Co-Authored-By: jcrichlake <[email protected]> Co-Authored-By: Bella L. Quintero <[email protected]>
Co-Authored-By: Sylvie <[email protected]> Co-Authored-By: halprin <[email protected]> Co-Authored-By: jcrichlake <[email protected]> Co-Authored-By: Bella L. Quintero <[email protected]>
Co-Authored-By: Sylvie <[email protected]> Co-Authored-By: halprin <[email protected]> Co-Authored-By: jcrichlake <[email protected]> Co-Authored-By: Bella L. Quintero <[email protected]>
Quality Gate passedIssues Measures |
Description
Describe what changed in this PR at a high level.
Issue
#1122
Checklist
Note: You may remove items that are not applicable