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

Fix free_monitoring tests and aws_e2e_assume_role.js on Windows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.7.0
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Minor Change
    • Operating System:
      ALL
    • Sprint:
      Security 2020-06-01

      Description

      After the fix for SERVER-47579, "Ensure cat may read files containing NULL bytes", 16 of the free_monitoring tests and the aws_e2e_assume_role.js test started consistently failing on Windows.

      Example from jstests/free_mon/free_mon_register.js:

      [js_test:free_mon_register] 2020-05-20T01:24:22.365+0100 [jsTest] ----[js_test:free_mon_register] 2020-05-20T01:24:22.365+0100 [jsTest] Failed to parse: {"metrics": 1, "registers": 1, "faults": 0}[js_test:free_mon_register] 2020-05-20T01:24:22.365+0100 [jsTest] \0[js_test:free_mon_register] 2020-05-20T01:24:22.365+0100 [jsTest] {"metrics": 1, "registers": 1, "faults": 0}[js_test:free_mon_register] 2020-05-20T01:24:22.365+0100 [jsTest] \0[js_test:free_mon_register] 2020-05-20T01:24:22.366+0100 [jsTest] ---- 

      The cat() function should stop appending a NULL (i.e. '\0') byte to files on Windows.

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              adam.cooper Adam Cooper (Inactive)
              Reporter:
              mark.benvenuto Mark Benvenuto
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: