mirror of
https://github.com/corda/corda.git
synced 2025-06-01 23:20:54 +00:00
[NOTICK] Fix a test error to allow tests to pass in Jenkins (#6202)
This commit is contained in:
parent
2febf13ea4
commit
7db25b8986
@ -42,8 +42,8 @@ class ResourceGeneratorTest {
|
|||||||
// Now check that all resource files that should be created are
|
// Now check that all resource files that should be created are
|
||||||
val tempDir = createTempDir()
|
val tempDir = createTempDir()
|
||||||
resourceGenerator.createResources(missing, tempDir.toPath())
|
resourceGenerator.createResources(missing, tempDir.toPath())
|
||||||
val createdFiles = tempDir.walkTopDown().filter { it.isFile && it.extension == "properties" }.map { it.name }.toList()
|
val createdFiles = tempDir.walkTopDown().filter { it.isFile && it.extension == "properties" }.map { it.name }.toSet()
|
||||||
assertEquals(missing, createdFiles)
|
assertEquals(missing.toSet(), createdFiles)
|
||||||
|
|
||||||
// Now check that a created file has the expected properties and values
|
// Now check that a created file has the expected properties and values
|
||||||
val properties = Properties()
|
val properties = Properties()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user