Skip to content

Add known issue for transport pickup directory #2253

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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