You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Michael Martell (Jira)" <ji...@apache.org> on 2019/12/06 18:03:00 UTC

[jira] [Created] (GEODE-7557) Google Test Hang in IDE

Michael Martell created GEODE-7557:
--------------------------------------

             Summary: Google Test Hang in IDE
                 Key: GEODE-7557
                 URL: https://issues.apache.org/jira/browse/GEODE-7557
             Project: Geode
          Issue Type: Bug
          Components: native client
            Reporter: Michael Martell


We use Boost Process in our Cluster integration test framework to start Gfsh and launch locators and servers. This code hangs indefinitely when run from within an IDE, we speculate it has something to do with the standard output from the Gfsh process being improperly handled when the stream closes as the process terminates; it seems we do get several lines of output indicating the pipe works until process termination.

The offending line of code can be found in cppcache\integration\framework\GfshExecute.cpp:72

 

```

    while (outStream && std::getline(outStream, line)) {

```

We don't see this problem when running the test harness from the command line, even through ctest.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)