mirror of
https://github.com/corda/corda.git
synced 2025-02-05 10:39:13 +00:00
Delete assertion for modified time as it can never be reliable. (#540)
This commit is contained in:
parent
ac328aeb67
commit
46a5684762
@ -67,8 +67,6 @@ class NetworkParametersConfigurationTest {
|
||||
assertThat(notaries[1].validating).isFalse()
|
||||
assertThat(networkParameters.maxMessageSize).isEqualTo(100)
|
||||
assertThat(networkParameters.maxTransactionSize).isEqualTo(100)
|
||||
// This is rather weak, though making this an exact test will require mocking a clock.
|
||||
assertThat(networkParameters.modifiedTime).isBefore(Instant.now())
|
||||
assertThat(networkParameters.epoch).isEqualTo(1)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user