Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-34371

Stop ignoring errors when the test fixture fails to delete data files

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.0, v3.6, v3.4, v3.2
    • Sprint:
      TIG 2018-06-18
    • Linked BF Score:
      16
    • Story Points:
      2

      Description

      The standalone test fixture attempts to delete data files before starting a node. We ignore errors when deleting data files, so we don't know if the deletion was successful. An example of when a deletion could fail is on Windows when another process is keeping the file open. When we fail to delete data files, tests can fail because they expect to start up with clean data files. We should add logging to understand when we fail to delete data files.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: