With the move of the 'bench' command to the admin socket the recv
timeout is being exceeded in testing due to the duration of the command.
Fixes: https://tracker.ceph.com/issues/42387
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
(cherry picked from commit
4dd67b9e3cb1a4168f6804b144e4178f2b821108)
}
struct timeval timer;
- timer.tv_sec = 5;
+ timer.tv_sec = 10;
timer.tv_usec = 0;
if (::setsockopt(socket_fd, SOL_SOCKET, SO_RCVTIMEO, &timer, sizeof(timer))) {
int err = errno;
close(socket_fd);
return oss.str();
}
- timer.tv_sec = 5;
+ timer.tv_sec = 10;
timer.tv_usec = 0;
if (::setsockopt(socket_fd, SOL_SOCKET, SO_SNDTIMEO, &timer, sizeof(timer))) {
int err = errno;