Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
None
-
None
-
None
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.