Skip to content
Merged
Changes from all commits
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
8 changes: 7 additions & 1 deletion tests/test_dashboard_client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ class DashboardClientTest : public ::testing::Test
void SetUp()
{
dashboard_client_.reset(new TestableDashboardClient(g_ROBOT_IP));
// In CI we the dashboard client times out for no obvious reason. Hence we increase the timeout
// here.
timeval tv;
tv.tv_sec = 10;
tv.tv_usec = 0;
dashboard_client_->setReceiveTimeout(tv);
}

void TearDown()
Expand Down Expand Up @@ -281,4 +287,4 @@ int main(int argc, char* argv[])
}

return RUN_ALL_TESTS();
}
}
Loading