diff options
author | Ian Gudger <igudger@google.com> | 2018-12-12 18:40:04 -0800 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-12-12 18:41:14 -0800 |
commit | f484b6d4c2f1dea6169ed50a5d3d1809e8f007be (patch) | |
tree | 3aabae8d09c54034091a1b20248a2197271211c1 | |
parent | ccce1d4281ce82fe551d7c8569fe3a545c62e296 (diff) |
Flush socket test description
This ensures that we know what type of socket caused a timeout.
PiperOrigin-RevId: 225294255
Change-Id: I9033bd0f3791d3b5714aa08d111cf58a3014d252
-rw-r--r-- | test/syscalls/linux/socket_test_util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/syscalls/linux/socket_test_util.h b/test/syscalls/linux/socket_test_util.h index e3e741478..6d84b3fa8 100644 --- a/test/syscalls/linux/socket_test_util.h +++ b/test/syscalls/linux/socket_test_util.h @@ -379,6 +379,7 @@ class SocketPairTest : public ::testing::TestWithParam<SocketPairKind> { SocketPairTest() { // gUnit uses printf, so so will we. printf("Testing with %s\n", GetParam().description.c_str()); + fflush(stdout); } PosixErrorOr<std::unique_ptr<SocketPair>> NewSocketPair() const { |