Issue #6291 Fix FileSessionDataStoreTest.testCleanOrphans (#6292)

Signed-off-by: Jan Bartel <janb@webtide.com>
This commit is contained in:
Jan Bartel 2021-05-19 19:06:04 +10:00 committed by GitHub
parent 61f4dbecdc
commit 65ef393262
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ public class FileTestHelper
try (Stream<Path> s = Files.list(storeDirRoot))
{
return s
.filter((path) -> path.getFileName().toString().contains(sessionId))
.filter((path) -> path.getFileName().toString().endsWith("_" + sessionId))
.findFirst()
.map(Path::toFile)
.orElse(null);