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

Fix Remote Transceiver Test Failures #342

Merged
merged 2 commits into from
Mar 23, 2024
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ using tcp = boost::asio::ip::tcp;

namespace remote_transceiver
{
constexpr int DEFAULT_NUM_IO_THREADS = 2; // Default number of HTTP requests that can be accepted in parallel
// Default number of HTTP requests that can be accepted in parallel
constexpr int DEFAULT_NUM_IO_THREADS = 2;

// Production constants are all placheholders
static const std::string PROD_DB_NAME = "PLACEHOLDER";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class TestRemoteTransceiver : public ::testing::Test
protected:
static constexpr int NUM_THREADS = 4;
// Need to wait after receiving an HTTP response from the server
static constexpr auto WAIT_AFTER_RES = std::chrono::milliseconds(20);
static constexpr auto WAIT_AFTER_RES = std::chrono::milliseconds(200);

// Network objects that are shared amongst all HTTP test suites
static bio::io_context io_;
Expand Down