Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions test/mocks/api/mocks.cc
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ MockOsSysCalls::~MockOsSysCalls() = default;

SysCallIntResult MockOsSysCalls::setsockopt(os_fd_t sockfd, int level, int optname,
const void* optval, socklen_t optlen) {
ASSERT(optlen == sizeof(int));
Comment thread
efimki marked this conversation as resolved.

// Allow mocking system call failure.
if (setsockopt_(sockfd, level, optname, optval, optlen) != 0) {
return SysCallIntResult{-1, 0};
Expand Down