mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-11-02 21:47:18 +00:00
WalletTest: Better unit test failure message to check if the test is flaky.
This commit is contained in:
@@ -2476,7 +2476,8 @@ public class WalletTest extends TestWithWallet {
|
||||
|
||||
assertTrue("Only one of the signatures should be missing/dummy", firstSigIsMissing ^ secondSigIsMissing);
|
||||
int localSigIndex = firstSigIsMissing ? 2 : 1;
|
||||
assertTrue("Local sig should be present", input.getScriptSig().getChunks().get(localSigIndex).data.length > 70);
|
||||
int length = input.getScriptSig().getChunks().get(localSigIndex).data.length;
|
||||
assertTrue("Local sig should be present: " + length, length > 70);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user