diff options
| author | Pavel Labath <labath@google.com> | 2018-04-23 11:22:44 +0000 | 
|---|---|---|
| committer | Pavel Labath <labath@google.com> | 2018-04-23 11:22:44 +0000 | 
| commit | 691d1348056a467a7be30536330650e8bc29b65f (patch) | |
| tree | 015cd80f068b6f7ee1472ce40a74cd6ae53a9c7f | |
| parent | acda4c0f18e0acadf28115db883c70fcb5c34d10 (diff) | |
| download | bcm5719-llvm-691d1348056a467a7be30536330650e8bc29b65f.tar.gz bcm5719-llvm-691d1348056a467a7be30536330650e8bc29b65f.zip  | |
llgs-tests: Increase packet time out
The default packet timeout of 1 second is a bit too small for these
tests, particularly as they are working in ack-mode, which means they
need to fit twice as many packets into the timeslot.
This does not seem to be a problem on the bots, but for some people
these tests are timing out regularly. I can't be sure increasing this
will solve their problem, but this does seem like a likely culprit.
llvm-svn: 330578
| -rw-r--r-- | lldb/unittests/tools/lldb-server/tests/TestClient.cpp | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/unittests/tools/lldb-server/tests/TestClient.cpp b/lldb/unittests/tools/lldb-server/tests/TestClient.cpp index f6290c66e97..9580358848c 100644 --- a/lldb/unittests/tools/lldb-server/tests/TestClient.cpp +++ b/lldb/unittests/tools/lldb-server/tests/TestClient.cpp @@ -29,6 +29,7 @@ using namespace llgs_tests;  TestClient::TestClient(std::unique_ptr<Connection> Conn) {    SetConnection(Conn.release()); +  SetPacketTimeout(std::chrono::seconds(10));    SendAck(); // Send this as a handshake.  }  | 

