mirror of
https://github.com/corda/corda.git
synced 2024-12-30 09:48:59 +00:00
Using epoch for the entries in the test CorDapp jars to remove that non-determinism (#4243)
This commit is contained in:
parent
3ea03068b8
commit
d138914640
@ -66,7 +66,7 @@ fun TestCordappImpl.packageAsJar(file: Path) {
|
||||
scanResult.use {
|
||||
val manifest = createTestManifest(name, title, version, vendor, targetVersion)
|
||||
JarOutputStream(file.outputStream(), manifest).use { jos ->
|
||||
val time = FileTime.from(Instant.now())
|
||||
val time = FileTime.from(Instant.EPOCH)
|
||||
// The same resource may be found in different locations (this will happen when running from gradle) so just
|
||||
// pick the first one found.
|
||||
scanResult.allResources.asMap().forEach { path, resourceList ->
|
||||
|
Loading…
Reference in New Issue
Block a user