Skip to content

Commit

Permalink
Merge pull request #2253 from microsoft/dpaul-HcKnownIssue
Browse files Browse the repository at this point in the history
Add known issue for transport pickup directory
  • Loading branch information
dpaulson45 authored Dec 11, 2024
2 parents ebfe4e8 + 8081455 commit d973703
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ function Invoke-AnalyzerExchangeInformation {
}

$params = $baseParams + @{
Name = "Remaining Trail Period"
Name = "Remaining Trial Period"
Details = $details
DisplayWriteType = $displayWriteType
DisplayCustomTabNumber = 2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,20 @@ function Invoke-AnalyzerKnownBuildIssues {
InformationUrl = (GetKnownIssueInformation @infoParams)
}
TestForKnownBuildIssues @params

Write-Verbose "Test for known transport pickup issue for version number."
$infoParams = @{
Name = "Known Issue when sending email with Pickup Folder is using Admin Display Version vs Installed Version"
Url = "https://support.microsoft.com/topic/email-sent-through-pickup-folder-displays-admin-version-068ae880-5bbf-43f0-a1fa-24a78f31635f"
}
$params = @{
CurrentVersion = $currentVersion
KnownBuildIssuesToFixes = @((GetKnownIssueBuildInformation "15.2.1544.0" "15.2.1544.14"),
(GetKnownIssueBuildInformation "15.2.000.000" "15.2.1258.39" -BuildBound $false),
(GetKnownIssueBuildInformation "15.1.000.000" "15.1.2507.44" -BuildBound $false))
InformationUrl = (GetKnownIssueInformation @infoParams)
}
TestForKnownBuildIssues @params
} catch {
Write-Verbose "Failed to run TestForKnownBuildIssues"
Invoke-CatchActions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,25 @@ Describe "Testing Known Build Issue Main Logic" {
} `
-KnownIssue (GetKnownIssueBuildInformation -BuildNumber "15.2.2375.17" -FixBuildNumber $null)
}

It "Testing Issue always been there" {
TestPesterResults -TestGroup @{
"15.2.1544.14" = $false
"15.2.1544.13" = $false # This is false, but the next test it should be true
"15.2.1258.39" = $false
"15.2.1258.38" = $true
"15.2.1118.40" = $true
} `
-KnownIssue (GetKnownIssueBuildInformation -BuildNumber "15.2.0.0" -FixBuildNumber "15.2.1258.39" -BuildBound $false)

TestPesterResults -TestGroup @{
"15.2.1544.14" = $false
"15.2.1544.13" = $true
"15.2.1258.39" = $false
"15.2.1258.38" = $false
"15.2.1118.40" = $false
} `
-KnownIssue (GetKnownIssueBuildInformation -BuildNumber "15.2.1544.0" -FixBuildNumber "15.2.1544.14" -BuildBound $true)
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Describe "Testing Health Checker by Mock Data Imports - Exchange 2016" {
TestObjectMatch "Extended Protection Enabled (Any VDir)" $false
TestObjectMatch "Setting Overrides Detected" $false
TestObjectMatch "Exchange Server Membership" "Passed"
$Script:ActiveGrouping.Count | Should -Be 19
$Script:ActiveGrouping.Count | Should -Be 22
}

It "Display Results - Organization Information" {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Describe "Testing Health Checker by Mock Data Imports" {
TestObjectMatch "End Of Life" $true -WriteType "Yellow" # This is going to change to red once we get 178 out
TestObjectMatch "Server Role" "Mailbox"
TestObjectMatch "Edition" "Warning - StandardEvaluation" -WriteType "Yellow"
TestObjectMatch "Remaining Trail Period" "Error - 00:00:00" -WriteType "Red"
TestObjectMatch "Remaining Trial Period" "Error - 00:00:00" -WriteType "Red"
TestObjectMatch "DAG Name" "Standalone Server"
TestObjectMatch "AD Site" "Default-First-Site-Name"
TestObjectMatch "MRS Proxy Enabled" "False"
Expand All @@ -37,7 +37,7 @@ Describe "Testing Health Checker by Mock Data Imports" {
TestObjectMatch "Monitoring Overrides Detected" $false
TestObjectMatch "Out of Date" $true -WriteType "Red"
TestObjectMatch "Exchange Server Membership" "Passed"
$Script:ActiveGrouping.Count | Should -Be 19
$Script:ActiveGrouping.Count | Should -Be 22
}

It "Display Results - Organization Information" {
Expand Down

0 comments on commit d973703

Please sign in to comment.