Fix unit test for TLS auto reload#3094
Conversation
Signed-off-by: Yang Zhao <zymy701@gmail.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## unstable #3094 +/- ##
============================================
- Coverage 74.40% 74.20% -0.20%
============================================
Files 129 129
Lines 71011 71013 +2
============================================
- Hits 52833 52695 -138
- Misses 18178 18318 +140 🚀 New features to boost your workflow:
|
|
Verifying the fix for the flaky tests in progress on my fork: yang-z-o#2 |
|
There are some tests are failing, can you take a look? |
|
Yes, I’m making fixes for the failing CI jobs. |
|
@yang-z-o I invited you to the valkey org with permissions to add the tag for when you update this PR. |
Signed-off-by: Yang Zhao <zymy701@gmail.com>
Signed-off-by: Yang Zhao <zymy701@gmail.com>
zuiderkwast
left a comment
There was a problem hiding this comment.
LGTM.
@madolson do you want to take a look too?
I'm curious if anyone has managed to run the tests with TLS on macOS. I haven't and we don't seem to do it in the CI and Daily jobs.
| file copy -force $orig_server_key $temp_key | ||
|
|
||
| # Ensure cleanup happens even if test fails | ||
| try { |
There was a problem hiding this comment.
@yang-z-o Have you managed to run these tests on macOS now?
- AFAIK, macOS only has TCL 8.5, at least that's what we run in the CI jobs for macos. I don't know if there is a 8.6 version available.
trywas added in TCL 8.6 and doesn't exist in TCL 8.5.- I don't know how to get TCL with TLS in macOS. I would like to know, because I have a mac too...
There was a problem hiding this comment.
No, I had to use Tcl with OpenSSL via Homebrew, instead of using the built-in Tcl with LibreSSL.
|
The TLS tests are passing in the CI. I saw it, but I accidentally started them by adding the label again and then I cancelled them. Sorry for that. |
|
Thank you! We should drop our support for TCL 8.5 and the TCL version detection for it in the runtest script. We currently run 8.5 in the CI job for macos, but now if we have try-finally that requires 8.6 and it's possible to install 8.6 in macos, we should drop the support for 8.5 and write some instructions in tests/README.md about how to install the right TCL versions. |
Signed-off-by: Yang Zhao <zymy701@gmail.com>
Signed-off-by: Yang Zhao <zymy701@gmail.com> Signed-off-by: Harkrishn Patro <bunty.hari@gmail.com>
Uh oh!
There was an error while loading. Please reload this page.