Skip to content
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

Skip preallocate tests on windows (#110998) #111100

Conversation

rjernst
Copy link
Member

@rjernst rjernst commented Jul 19, 2024

The preallocate tests assumed that preallocation was using the fallback implementation which calls setLength on Windows. However, that fallback only happens inside the SharedBytes class, so windows doesn't actually do anything when tryPreallocate is called. This commit skips the test on windows.

closes #110948

The preallocate tests assumed that preallocation was using the fallback implementation which calls setLength on Windows. However, that fallback only happens inside the SharedBytes class, so windows doesn't actually do anything when tryPreallocate is called. This commit skips the test on windows.

closes elastic#110948
@rjernst rjernst added backport auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) labels Jul 19, 2024
@elasticsearchmachine elasticsearchmachine merged commit bdb1028 into elastic:8.15 Jul 19, 2024
15 checks passed
@rjernst rjernst deleted the native/preallocate_windows_test_8.15 branch July 19, 2024 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport v8.15.1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants