What branch/commit are you on? What JDK are you using?
On 06/23/2016 12:31 PM, [email protected] wrote: > Please, help . > > Some bitcoinj library tests failed, when trying to install bitcoinj > java library under openSUSE Leap 42.1 distro > > Tests run: 42, Failures: 2, Errors: 0, Skipped: 2, Time elapsed: 12.254 > sec <<< FAILURE! - in org.bitcoinj.core.PeerGroupTest > autoRescanOnKeyExhaustion[0](org.bitcoinj.core.PeerGroupTest) Time > elapsed: 0.311 sec <<< FAILURE! > java.lang.AssertionError: expected:<15000000000> but was:<10000000000> > at org.junit.Assert.fail(Assert.java:88) > at org.junit.Assert.failNotEquals(Assert.java:834) > at org.junit.Assert.assertEquals(Assert.java:118) > at org.junit.Assert.assertEquals(Assert.java:144) > at > org.bitcoinj.core.PeerGroupTest.autoRescanOnKeyExhaustion(PeerGroupTest.java:804) > > > Tests run: 15, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 2.944 > sec <<< FAILURE! - in org.bitcoinj.wallet.DeterministicKeyChainTest > events(org.bitcoinj.wallet.DeterministicKeyChainTest) Time elapsed: > 0.157 sec <<< FAILURE! > java.lang.AssertionError: expected:<12> but was:<10> > at org.junit.Assert.fail(Assert.java:88) > at org.junit.Assert.failNotEquals(Assert.java:834) > at org.junit.Assert.assertEquals(Assert.java:645) > at org.junit.Assert.assertEquals(Assert.java:631) > at > org.bitcoinj.wallet.DeterministicKeyChainTest.events(DeterministicKeyChainTest.java:196) > > What could be wrong ? When I look at java code > in DeterministicKeyChainTest.java, I see some constants: > ... > assertEquals(12, secondEvent.size()); // (5 lookahead keys, +1 > lookahead threshold) * 2 chains > ... > Can these constants lead to such errors in tests ? > > Thank you. > > > > > -- > You received this message because you are subscribed to the Google > Groups "bitcoinj" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected] > <mailto:[email protected]>. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "bitcoinj" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
