Skip to content

Commit c9a4459

Browse files
committed
Merge branch 'instancecheckscontinued' of https://github.com/dataplat/dbachecks into instancecheckscontinued
2 parents cce1630 + 1af9299 commit c9a4459

File tree

8 files changed

+581
-435
lines changed

8 files changed

+581
-435
lines changed

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"count",
88
"cpu",
99
"datafile",
10+
"dbachecks",
1011
"dbcconfig",
1112
"djfcc",
1213
"dstrait",
@@ -51,4 +52,4 @@
5152
"cSpell.enableFiletypes": [
5253
"powershell"
5354
]
54-
}
55+
}

containers/JessAndBeard.psm1

Lines changed: 35 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -2312,7 +2312,7 @@ Uh-Oh - The Tag filters between v4 and v5 are not the same somehow.
23122312
For v4 We returned
23132313
{0}
23142314
and
2315-
For v5 we returned
2315+
for v4 we returned
23162316
{1}
23172317
" -f ($v4code.TagFilter | Out-String), ($v5code.Configuration.Filter.Tag.Value | Out-String)
23182318
Write-PSFMessage -Message $Message -Level Warning
@@ -2325,47 +2325,54 @@ The Tags are the same"
23252325
$changedTags = @(
23262326
@{
23272327
Name = 'TraceFlagsExpected'
2328-
RunChange = 3 # + or - the number of tests run for v5
2329-
PassedChange = 3 # + or - the number of tests passed for v5
2330-
FailedChange = 0 # + or - the number of tests failed for v5
2331-
SkippedChange = 0 # + or - the number of tests skipped for v5
2328+
RunChange = 3 # + or - the number of tests run for v4
2329+
PassedChange = 3 # + or - the number of tests passed for v4
2330+
FailedChange = 0 # + or - the number of tests failed for v4
2331+
SkippedChange = 0 # + or - the number of tests skipped for v4
23322332

23332333
},
23342334
@{
23352335
Name = 'TraceFlagsNotExpected'
2336-
RunChange = 3 # + or - the number of tests for v5
2337-
PassedChange = 3 # + or - the number of tests passed for v5
2338-
FailedChange = 0 # + or - the number of tests failed for v5
2339-
SkippedChange = 0 # + or - the number of tests skipped for v5
2336+
RunChange = 3 # + or - the number of tests for v4
2337+
PassedChange = 3 # + or - the number of tests passed for v4
2338+
FailedChange = 0 # + or - the number of tests failed for v4
2339+
SkippedChange = 0 # + or - the number of tests skipped for v4
23402340
},
23412341
@{
23422342
Name = 'XESessionRunningAllowed'
2343-
RunChange = -12 # + or - the number of tests for v5
2344-
PassedChange = 0 # + or - the number of tests passed for v5
2345-
FailedChange = -12 # + or - the number of tests failed for v5
2346-
SkippedChange = 0 # + or - the number of tests skipped for v5
2343+
RunChange = -12 # + or - the number of tests for v4
2344+
PassedChange = 0 # + or - the number of tests passed for v4
2345+
FailedChange = -12 # + or - the number of tests failed for v4
2346+
SkippedChange = 0 # + or - the number of tests skipped for v4
23472347
},
23482348
@{
23492349
Name = 'LinkedServerConnection'
2350-
RunChange = -3 # + or - the number of tests for v5
2351-
PassedChange = -3 # + or - the number of tests passed for v5
2352-
FailedChange = 0 # + or - the number of tests failed for v5
2353-
SkippedChange = 0 # + or - the number of tests skipped for v5
2350+
RunChange = -3 # + or - the number of tests for v4
2351+
PassedChange = -3 # + or - the number of tests passed for v4
2352+
FailedChange = 0 # + or - the number of tests failed for v4
2353+
SkippedChange = 0 # + or - the number of tests skipped for v4
23542354
},
23552355
@{
23562356
Name = 'SupportedBuild'
2357-
RunChange = -3 # + or - the number of tests run for v5
2358-
PassedChange = -3 # + or - the number of tests passed for v5
2359-
FailedChange = 0 # + or - the number of tests failed for v5
2360-
SkippedChange = 0 # + or - the number of tests skipped for v5
2357+
RunChange = -3 # + or - the number of tests run for v4
2358+
PassedChange = -3 # + or - the number of tests passed for v4
2359+
FailedChange = 0 # + or - the number of tests failed for v4
2360+
SkippedChange = 0 # + or - the number of tests skipped for v4
23612361
},
23622362
@{
23632363
Name = 'GuestUserConnect'
2364-
RunChange = 0 # + or - the number of tests run for v5
2365-
PassedChange = +2 # + or - the number of tests passed for v5
2366-
FailedChange = -2 # + or - the number of tests failed for v5
2367-
SkippedChange = 0 # + or - the number of tests skipped for v5
2364+
RunChange = 0 # + or - the number of tests run for v4
2365+
PassedChange = +2 # + or - the number of tests passed for v4
2366+
FailedChange = -2 # + or - the number of tests failed for v4
2367+
SkippedChange = 0 # + or - the number of tests skipped for v4
23682368
},
2369+
@{
2370+
Name = 'AgentServiceAccount'
2371+
RunChange = -3 # + or - the number of tests run for v4
2372+
PassedChange = -5 # + or - the number of tests passed for v4
2373+
FailedChange = -1 # + or - the number of tests failed for v4
2374+
SkippedChange = +3 # + or - the number of tests skipped for v4
2375+
},
23692376
@{
23702377
Name = 'SqlEngineServiceAccount'
23712378
RunChange = -3 # + or - the number of tests run for v5
@@ -2407,7 +2414,7 @@ Uh-Oh - The total tests run between v4 and v5 are not the same somehow.
24072414
For v4 We ran
24082415
{0} tests
24092416
and
2410-
For v5 we ran
2417+
for v4 we ran
24112418
{1} tests
24122419
The MOST COMMON REASON IS you have used Tags instead of Tag in your Describe block {2}
24132420
" -f $v4code.TotalCount, $v5run, $messageAppend
@@ -2427,7 +2434,7 @@ Uh-Oh - The total tests Passed between v4 and v5 are not the same somehow.
24272434
For v4 We Passed
24282435
{0} tests
24292436
and
2430-
For v5 we Passed
2437+
for v4 we Passed
24312438
{1} tests
24322439
{2}
24332440
@@ -2454,7 +2461,7 @@ Uh-Oh - The total tests Failed between v4 and v5 are not the same somehow.
24542461
For v4 We Failed
24552462
{0} tests
24562463
and
2457-
For v5 we Failed
2464+
for v4 we Failed
24582465
{1} tests
24592466
24602467
" -f $v4code.FailedCount, $v5Failed, $messageAppend

0 commit comments

Comments
 (0)