File tree 2 files changed +4
-1
lines changed
source/Modules/SqlServerDsc.Common
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
68
68
is more correct and not a duplicate.
69
69
- Integration tests configuration names was renamed to better tell what
70
70
the configuration does ([ issue #1880 ] ( https://github.com/dsccommunity/SqlServerDsc/issues/1880 ) ).
71
+ - SqlServerDsc.Common
72
+ - The command ` Restart-SqlService ` was updated to correctly evaluate when
73
+ the timeout value is reached ([ issue #1889 ] ( https://github.com/dsccommunity/SqlServerDsc/issues/1889 ) ).
71
74
72
75
## [ 16.1.0] - 2023-02-28
73
76
Original file line number Diff line number Diff line change @@ -1030,7 +1030,7 @@ function Restart-SqlService
1030
1030
1031
1031
# Waiting 2 seconds to not hammer the SQL Server instance.
1032
1032
Start-Sleep - Seconds 2
1033
- } until ($connectTimer.Elapsed.Seconds -ge $Timeout )
1033
+ } until ($connectTimer.Elapsed.TotalSeconds -ge $Timeout )
1034
1034
1035
1035
$connectTimer.Stop ()
1036
1036
You can’t perform that action at this time.
0 commit comments