Skip to content

Commit

Permalink
Merge pull request #387 from regedit32/issue#385
Browse files Browse the repository at this point in the history
fix issue #385 (Timing issue in integration tests)
  • Loading branch information
regedit32 committed Jul 27, 2018
2 parents 6501119 + f5e5b13 commit 1d0bdf0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -181,10 +181,12 @@ try
finally
{
#region FOOTER
Restore-TestEnvironment -TestEnvironment $TestEnvironment

# Addresses Issue #385: xWebConfigPropertyCollection: Timing issue in integration tests
Start-Sleep -Seconds 4

Restore-WebConfiguration -Name $tempName
Remove-WebConfigurationBackup -Name $tempName

Restore-TestEnvironment -TestEnvironment $TestEnvironment
#endregion
}

Original file line number Diff line number Diff line change
Expand Up @@ -200,10 +200,12 @@ try
finally
{
#region FOOTER
Restore-TestEnvironment -TestEnvironment $TestEnvironment

# Addresses Issue #385: xWebConfigPropertyCollection: Timing issue in integration tests
Start-Sleep -Seconds 4

Restore-WebConfiguration -Name $tempName
Remove-WebConfigurationBackup -Name $tempName

Restore-TestEnvironment -TestEnvironment $TestEnvironment
#endregion
}

0 comments on commit 1d0bdf0

Please sign in to comment.