Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-7557

Google Test Hang in IDE

    XMLWordPrintableJSON

Details

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

      Attachments

        Activity

          People

            Unassigned Unassigned
            mmartell Michael Martell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: