Flush socket test description

This ensures that we know what type of socket caused a timeout.

PiperOrigin-RevId: 225294255
Change-Id: I9033bd0f3791d3b5714aa08d111cf58a3014d252
This commit is contained in:
Ian Gudger 2018-12-12 18:40:04 -08:00 committed by Shentubot
parent ccce1d4281
commit f484b6d4c2
1 changed files with 1 additions and 0 deletions

View File

@ -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 {