Browse Source

[master] Removed unnecessary check in unix_control_client.

This change fixes an unstable unit test and it was okayed on jabber.
Marcin Siodelski 7 years ago
parent
commit
d12fe71d1c
1 changed files with 0 additions and 5 deletions
  1. 0 5
      src/lib/testutils/unix_control_client.cc

+ 0 - 5
src/lib/testutils/unix_control_client.cc

@@ -110,11 +110,6 @@ bool UnixControlClient::getResponse(std::string& response,
         return (false);
     }
 
-    if (bytes_rcvd >= sizeof(buf)) {
-        ADD_FAILURE() << "Response size too large: " << bytes_rcvd;
-        return (false);
-    }
-
     // Convert the response to a string
     response = std::string(buf, bytes_rcvd);
     return (true);