Skip to content

Commit

Permalink
Fix test for Measure-DbaBackupThroughput (#9508)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasjordan authored Oct 14, 2024
1 parent 14751db commit 2de0339
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/Measure-DbaBackupThroughput.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Describe "$CommandName Unit Tests" -Tag 'UnitTests' {
Describe "$CommandName Integration Tests" -Tags "IntegrationTests" {
Context "Returns output for single database" {
BeforeAll {
$null = Get-DbaProcess -SqlInstance $script:instance2 | Where-Object Program -Match dbatools | Stop-DbaProcess -Confirm:$false -WarningAction SilentlyContinue
$random = Get-Random
$db = "dbatoolsci_measurethruput$random"
$null = New-DbaDatabase -SqlInstance $script:instance2 -Database $db | Backup-DbaDatabase
Expand Down

0 comments on commit 2de0339

Please sign in to comment.