Skip to content

TestGetFormatDataAndExportFormatData test fails as the FormatViewDefinition of System.Diagnostics.Process are not as expected #1278

@adityapatwardhan

Description

@adityapatwardhan

Name

TestGetFormatDataAndExportFormatData

File

C:\PowerShellTests\PowerShell\Win8\PowerShell\legacy\utscripts\Commands\TestGetFormatDataAndExportFormatData.ps1

Repro

(Get-FormatData System.Diagnostics.Process).FormatViewDefinition.Count

Expected

4

Name Control
process TableControl
Priority TableControl
StartTime TableControl
process WideControl

Actual

2
Name Control
process System.Management.Automation.TableControl
process System.Management.Automation.WideControl

> $PSVersionTable

PS C:\Windows\system32> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      5.1.10032.0
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   3.0.0.0
GitCommitId                    v0.5.0-228-gd453bfd4b97e7f7a4569360b2e386a326268ea8c
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    BVT/DRTAn issue affecting or exposed by tests that have not been open sourcedResolution-No ActivityIssue has had no activity for 6 months or moreWG-Quality-Testissues in a test or in test infrastructure

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions