-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
ui test fails on Mac OSX #1230
Comments
Hmm looking at the escape sequences, this is probably related to the way we detect if we're running on a TTY and if we should output with colors... It seems that for some reason the test has differences, and looking at the code, I'm honestly not sure how the Linux tests worked 😄 Anyway, we need to fix the test for now, since we'd like to have cross-platform automated tests with Azure Pipelines/GitHub actions (#959). But actually fixing the underlying issues might be a somewhat big task. I stumbled on some of the issues with the way we handle colored output in #1007 and even added an inline comment: https://github.com/loadimpact/k6/blob/3421078d34e9eb2dce507c2687eeb3981d1afc87/cmd/root.go#L79-L94 So yeah, not sure why anyone though it would be a good idea to output colored text with escape codes and then subsequently strip those codes... But if refactoring the code isn't much more complicated, we might end up doing that and not just patching the test... |
Hi, I have executed both tests on MacOS (Sonoma) and Go v1.21.4, multiple times to detect potential flakiness, with:
and none of them fail. So, perhaps could we consider this as fixed already? Summoning another contributor with MacOS (cc/ @oleiade) to double-check it. Thanks! |
I can confirm the same results on a similar setup 👍🏻 🎉 |
The text was updated successfully, but these errors were encountered: