Skip to content

Failing unit tests in clean macOS development environment #19928

@yaakov-h

Description

@yaakov-h

I've followed the instructions outlined here, and after running ./build-tests.sh, two unit tests failed:

      <test name="System.Diagnostics.Tests.ProcessTests.TestProcessStartTime" type="System.Diagnostics.Tests.ProcessTests" method="TestProcessStartTime" time="0.457767" result="Fail">
        <failure exception-type="Xunit.Sdk.InRangeException">
          <message><![CDATA[Assert.InRange() Failure\r\nRange:  (1/15/17 8:51:09 AM - 1/15/17 8:51:15 AM)\r\nActual: 1/15/17 12:36:59 AM]]></message>
          <stack-trace><![CDATA[   at System.Diagnostics.Tests.ProcessTests.TestProcessStartTime() in /Users/yaakov/Development/ThirdParty/corefx/src/System.Diagnostics.Process/tests/ProcessTests.cs:line 416]]></stack-trace>
        </failure>
      </test>
       <test name="System.Globalization.Tests.DateTimeFormatInfoGetDayName.GetDayName(format: DateTimeFormatInfo { AbbreviatedDayNames = [\&quot;dim.\&quot;, \&quot;lun.\&quot;, \&quot;mar.\&quot;, \&quot;mer.\&quot;, \&quot;jeu.\&quot;, ...], AbbreviatedMonthGenitiveNames = [\&quot;janv.\&quot;, \&quot;févr.\&quot;, \&quot;mars\&quot;, \&quot;avr.\&quot;, \&quot;mai\&quot;, ...], AbbreviatedMonthNames = [\&quot;janv.\&quot;, \&quot;févr.\&quot;, \&quot;mars\&quot;, \&quot;avr.\&quot;, \&quot;mai\&quot;, ...], AMDesignator = \&quot;AM\&quot;, Calendar = GregorianCalendar { AlgorithmType = SolarCalendar, CalendarType = Localized, Eras = [...], IsReadOnly = False, MaxSupportedDateTime = 9999-12-31T23:59:59.9999999, ... }, ... }, expected: [\&quot;Dimanche\&quot;, \&quot;Lundi\&quot;, \&quot;Mardi\&quot;, \&quot;Mercredi\&quot;, \&quot;Jeudi\&quot;, ...])" type="System.Globalization.Tests.DateTimeFormatInfoGetDayName" method="GetDayName" time="0.000331" result="Fail">
        <failure exception-type="Xunit.Sdk.EqualException">
          <message><![CDATA[Assert.Equal() Failure\n          ↓ (pos 0)\nExpected: Dimanche\nActual:   dimanche\n          ↑ (pos 0)]]></message>
          <stack-trace><![CDATA[   at System.Globalization.Tests.DateTimeFormatInfoGetDayName.GetDayName(DateTimeFormatInfo format, String[] expected) in /Users/yaakov/Development/ThirdParty/corefx/src/System.Globalization/tests/DateTimeFormatInfo/DateTimeFormatInfoGetDayName.cs:line 44]]></stack-trace>
        </failure>
      </test>

This occurred on macOS 10.12.2 (16C67).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions