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

[SRE-30501] Remove logResponse String builder during all http requests #312

Merged
merged 4 commits into from
Mar 27, 2024

Conversation

kevin-mcgoldrick
Copy link
Collaborator

@kevin-mcgoldrick kevin-mcgoldrick commented Mar 26, 2024

Remove logResponse String builder during all http requests

This change only creates the response log message only if using with Agent Debugger Tool and if Log Level is set to DEBUG instead of creating it by default on each step - decreasing the memory allocated for the log message string per agent thread. It also now correctly logs error messages from TestPlanStarter, including catching OOM exceptions.

BEFORE
Screenshot 2024-03-26 at 6 02 29 PM

AFTER
Screenshot 2024-03-26 at 6 02 40 PM

Please make sure these check boxes are checked before submitting

  • ** Squashed Commits **
  • ** All Tests Passed ** - mvn clean test -P default

** PR review process **

  • Requires one +1 from a reviewer
  • Repository owners will merge your PR once it is approved.

…0501

* 'SRE-30501' of https://github.com/intuit/Tank:
  log exception message in testplanstarter and add OOM exception log
Copy link
Collaborator

@Zakaria-Kofiro Zakaria-Kofiro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kevin-mcgoldrick kevin-mcgoldrick merged commit 3699680 into master Mar 27, 2024
@kevin-mcgoldrick kevin-mcgoldrick deleted the SRE-30501 branch March 27, 2024 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants