Fix flaky test: System_NoKeysDirectoryProvided_UsesDefaultKeysDirectory (#305)

This commit is contained in:
Nate McMaster 2018-04-17 08:38:59 -07:00 committed by GitHub
parent e195e1a849
commit fb948aea7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ namespace Microsoft.AspNetCore.DataProtection
Assert.NotNull(FileSystemXmlRepository.DefaultKeyStorageDirectory);
var keysPath = FileSystemXmlRepository.DefaultKeyStorageDirectory.FullName;
var tempPath = FileSystemXmlRepository.DefaultKeyStorageDirectory.FullName + "Temp";
var tempPath = FileSystemXmlRepository.DefaultKeyStorageDirectory.FullName + Path.GetRandomFileName();
try
{