Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-1339

JS CLI Test Suite: use shell trap to catch dying beam processes during test runs

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: 1.3
    • Component/s: Test Suite
    • Labels:
      None

      Description

      The JS CLI test suite that now runs with make check (post 1.2.x master only) starts CouchDB using make dev && utils/run -b and stops it with utils/run -d.

      One issue with this is that the CouchDB process might terminate in the background. The shell trap command allows the test suite to act on that accordingly, otherwise the test suite would just freeze.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tilgovi Randall Leeds
                Reporter:
                jan Jan Lehnardt
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: