diff options
author | Alvaro Herrera | 2013-01-23 16:30:14 +0000 |
---|---|---|
committer | Alvaro Herrera | 2013-01-23 16:30:14 +0000 |
commit | ca5db759b8b7f2574a34842fc9284e58618e15b9 (patch) | |
tree | 08210a0f9307bb4d82682755fceea1102b7c81bd /src/test/isolation/isolationtester.c | |
parent | 40ed59b2867fff9b1b4470e430c2d66732a05c2c (diff) |
isolationtester: add a few fflush(stderr) calls
The lack of them is causing failures in some BF members.
Per Andrew Dunstan.
Diffstat (limited to 'src/test/isolation/isolationtester.c')
-rw-r--r-- | src/test/isolation/isolationtester.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/isolation/isolationtester.c b/src/test/isolation/isolationtester.c index f1bb87d2f13..56cc7fea4f5 100644 --- a/src/test/isolation/isolationtester.c +++ b/src/test/isolation/isolationtester.c @@ -566,6 +566,7 @@ run_permutation(TestSpec * testspec, int nsteps, Step ** steps) */ fflush(stdout); fprintf(stderr, "invalid permutation detected\n"); + fflush(stderr); /* Cancel the waiting statement from this session. */ cancel = PQgetCancel(conn); @@ -648,6 +649,7 @@ teardown: testspec->sessions[i]->name, PQerrorMessage(conns[i + 1])); /* don't exit on teardown failure */ + fflush(stderr); } PQclear(res); } @@ -666,7 +668,7 @@ teardown: fprintf(stderr, "teardown failed: %s", PQerrorMessage(conns[0])); /* don't exit on teardown failure */ - + fflush(stderr); } PQclear(res); } |