-
Notifications
You must be signed in to change notification settings - Fork 23.6k
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
Fix the problem that Darwin memory leak detection may fail #8213
Fix the problem that Darwin memory leak detection may fail #8213
Conversation
@yangbodong22011 thanks for looking into this.
|
6c44bd2
to
0d8aa4a
Compare
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.
the code you wrote / copied looks good to me.
i changed the comment a bit, let me know if you agree it's better.
Co-authored-by: Oran Agra <oran@redislabs.com>
thanks @yangbodong22011 can you please make sure again that this works on all MacOS variants you have (since we have no coverage for this in CI) |
On my computer, MacOS High Sierra, I've tested it. |
I borrowed someone else’s "MacOS Big Sur" test and passed, but I found that the leaks error still did not match the original issue. The original error is:
So let's go back to the original issue and let the person who raised the issue help verify it. |
…dis#8213) Apparently the "leaks" took reports a different error string about process that's not found in each version of MacOS. This cause the test suite to fail on some OS versions, since some tests terminate the process before looking for leaks. Instead of looking at the error string, we now look at the (documented) exit code.
…dis#8213) Apparently the "leaks" took reports a different error string about process that's not found in each version of MacOS. This cause the test suite to fail on some OS versions, since some tests terminate the process before looking for leaks. Instead of looking at the error string, we now look at the (documented) exit code.
@yangbodong22011 do you have some times to look into this one? https://github.com/enjoy-binbin/redis/actions/runs/5017425080/jobs/8995524700#step:5:15263 |
seems this test fail:
and have some log
|
refer: #8205