-
Notifications
You must be signed in to change notification settings - Fork 25.1k
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
Check message instead of toString for DS_Store test #42742
Conversation
The plugin service special cases .DS_Store on MacOS, to not think it is a plugin. The tests for this behavior also check an appropriate error occurs on non macos systems. On Linux, the test checks the exception message, but uses toString(), which uses a localized version of the exception message. This commit changes the test to instead check the exception message directly, so as not to depend on the locale. closes elastic#41689
Pinging @elastic/es-core-infra |
This does not have any effect. |
I tested this:
|
That is unfortunate (sorry I was testing from my macbook before without thinking). |
The plugin service special cases .DS_Store on MacOS, to not think it is
a plugin. The tests for this behavior also check an appropriate error
occurs on non macos systems. On Linux, the test checks the exception
message, but uses toString(), which uses a localized version of the
exception message. This commit changes the test to instead check the
exception message directly, so as not to depend on the locale.
closes #41689