Commit efc6d974 authored by jan.koester's avatar jan.koester
Browse files

bugfix

parent 931e5ce2
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -369,13 +369,14 @@ int main() {

    bool pass1 = testIdleConnectionGetsClosed();
    bool pass2 = testDefaultDisabledLeavesConnectionAlive();
    bool pass3 = testPendingOpsBlocksReap();

    if (pass1 && pass2) {
    if (pass1 && pass2 && pass3) {
        std::cout << "idle_reaper_test PASSED" << std::endl;
        return 0;
    }

    std::cerr << "idle_reaper_test FAILED (scenario1=" << pass1
              << " scenario2=" << pass2 << ")" << std::endl;
              << " scenario2=" << pass2 << " scenario3=" << pass3 << ")" << std::endl;
    return 1;
}