Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Jefajers authored Jan 25, 2024
1 parent ef135bb commit b2f24c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tests/integration/Repository.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -1144,7 +1144,7 @@ Describe "Repository" {
$diff3 = New-TimeSpan -Start $createTime.changeTime[1] -End $createTime.changeTime[2]
$diff4 = New-TimeSpan -Start $createTime.changeTime[0] -End $createTime.changeTime[3]
# Check if time difference is within x seconds
$allowedDiff = '8'
$allowedDiff = '15'
if ($diff1.TotalSeconds -le $allowedDiff -and $diff2.TotalSeconds -le $allowedDiff -and $diff3.TotalSeconds -le $allowedDiff -and $diff4.TotalSeconds -ge $allowedDiff) {
# Time difference is within x seconds of each other
$timeTest = "good"
Expand Down

0 comments on commit b2f24c6

Please sign in to comment.