From 2339c66294af67655af0a69cbe7fa224bd776d30 Mon Sep 17 00:00:00 2001 From: Chrissy LeMaire Date: Sat, 26 Oct 2024 22:27:55 +0200 Subject: [PATCH] oops, forgot to actually run the code (do Add-DbaPfDataCollectorCounter) --- tests/Add-DbaPfDataCollectorCounter.Tests.ps1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/Add-DbaPfDataCollectorCounter.Tests.ps1 b/tests/Add-DbaPfDataCollectorCounter.Tests.ps1 index e3229caf44..046578b770 100644 --- a/tests/Add-DbaPfDataCollectorCounter.Tests.ps1 +++ b/tests/Add-DbaPfDataCollectorCounter.Tests.ps1 @@ -44,6 +44,9 @@ Describe "Add-DbaPfDataCollectorCounter" -Tag "IntegrationTests" { Get-DbaPfDataCollector | Get-DbaPfDataCollectorCounter -Counter '\LogicalDisk(*)\Avg. Disk Queue Length' | Remove-DbaPfDataCollectorCounter + + $results = Get-DbaPfDataCollectorSet -CollectorSet 'Long Running Queries' | Get-DbaPfDataCollector | + Add-DbaPfDataCollectorCounter -Counter '\LogicalDisk(*)\Avg. Disk Queue Length' } AfterAll {