Skip to content

Conversation

@sbSteveK
Copy link
Contributor

@sbSteveK sbSteveK commented Nov 18, 2025

Various debugging improvements

Log test names when they run
More explicit logging to track refCount manipulation in CrtResource
decRef logging descriptions for overwritten close() functions and for staticClose

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/* The setup function will be run before every test */
@Before
public void setup() {
System.out.println("[TEST START] " + testName.getMethodName());
Copy link
Contributor

Choose a reason for hiding this comment

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

https://github.com/awslabs/aws-crt-java/actions/runs/19476392289/job/55739151489?pr=938#step:4:2041
Do we really want all of those print out in the log? Is there an example about this helping debugging?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There are times when tests fail but there is no record of which test from a class of tests was the one that failed. I've seen it most when tests time out and logs need to be truncated.

@sbSteveK sbSteveK merged commit 72b5023 into main Nov 18, 2025
100 of 102 checks passed
@sbSteveK sbSteveK deleted the debug-improvements branch November 18, 2025 21:06
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.

3 participants