Skip to content

Commit

Permalink
Merge pull request #932 from kit-ty-kate/fix-test-macos-arm64
Browse files Browse the repository at this point in the history
Fix the tests for macOS/arm64 (which has a 16k page size)
  • Loading branch information
raphael-proust authored Jun 2, 2022
2 parents 7fb41f8 + bd0a960 commit 59925d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
* Lwt.pick and Lwt.choose select preferentially failed promises as per
documentation (#856, #874, Raman Varabets)
* Use the WSA_FLAG_NO_HANDLE_INHERIT on Windows when creating sockets with WSASocket if the cloexec (non-inheritable) parameter is true. Fixes a Windows problem where a child process would inherit a supposedly non-inheritable socket. (#910, Antonin Décimo)
* Fix macOS/arm64 tests which have a 16k page. (#932, Kate Deplaix)

====== Deprecations ======

Expand Down
2 changes: 1 addition & 1 deletion test/unix/test_lwt_bytes.ml
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,7 @@ let suite = suite "lwt_bytes" [
end;

test "page_size" begin fun () ->
let sizes = [4096; 65536] in
let sizes = [4096; 16384; 65536] in
Lwt.return (List.mem Lwt_bytes.page_size sizes)
end;

Expand Down

0 comments on commit 59925d0

Please sign in to comment.