[ 
https://issues.apache.org/jira/browse/GEODE-7557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Martell updated GEODE-7557:
-----------------------------------
    Description: 
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.

 

Notes: It is curious that only the SSL tests experience this hang in the IDE. 
That may be a clue to the issue.

  was:
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.


> 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
>            Priority: Major
>
> 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.
>  
> Notes: It is curious that only the SSL tests experience this hang in the IDE. 
> That may be a clue to the issue.



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

Reply via email to