Fix flaky test: System_NoKeysDirectoryProvided_UsesDefaultKeysDirectory (#305)
This commit is contained in:
parent
e195e1a849
commit
fb948aea7d
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue