Skip to content

Commit

Permalink
Fix Remote Transceiver Test Failures (#342)
Browse files Browse the repository at this point in the history
* This might work

* Increase timeout
  • Loading branch information
hhenry01 authored Mar 23, 2024
1 parent 092d097 commit b83005c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
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

0 comments on commit b83005c

Please sign in to comment.