Commit Graph

1581 Commits

Author SHA1 Message Date
cc556cde6f ndoe: Fix message duping on redelivery 2016-09-06 13:54:58 +01:00
89a5448c39 node, core: Add quickcheck generators for basic types, transactions 2016-09-06 13:54:58 +01:00
f3b4379e06 Merged in andrius-minor-transaction-cleanup (pull request #329)
Minor TransactionBuilder cleanup
2016-09-06 13:14:07 +01:00
220b3f9043 Merged in aslemmer-fix-clockutils-race (pull request #328)
fix clockutils race
2016-09-06 11:48:08 +01:00
9cccb11967 Add comment explaining signers 2016-09-06 10:07:08 +01:00
4923e33a7d node: Remove unnecessary @Suppress 2016-09-06 09:52:43 +01:00
737fc0589c node: Add clock test for external interrupt on waiting strand 2016-09-06 09:52:43 +01:00
fc7000c152 node: Fix race in Clock.doInterruptibly by not relying on version counter 2016-09-06 09:52:43 +01:00
ac35673074 Merged in irs-demo-against-standalone (pull request #326)
Allow IRS demo to be executed against standalone nodes by adding rates upload as a role so doesn't need to be done by node launcher, but can instead be run independently from the command line.
2016-09-06 09:47:17 +01:00
c6d16ea609 Merged in mnesbit-cleanup-shutdown-in-reverse-order (pull request #325)
Shutdown node components in reverse order to startup
2016-09-06 09:32:58 +01:00
11efe8ca1b Extend Rick's closeOnShutdown so that all the shutdown that was being done manually is done through the same mechanism. Thus allowing for a consistent reverse ordering and hopefully preventing DB shutdown happening ahead of serverThread shutdown.
Follow Rick's PR suggestions

Preserve comment about abitrary timeout on serverThread stop
2016-09-06 09:18:59 +01:00
240c403091 Allow IRS demo to be executed against standalone nodes by adding rates upload as a role so doesn't need to be done by node launcher, but can instead be run independently from the command line. 2016-09-06 08:24:02 +01:00
2676e8878d Remove a @Deprecated as the code has been changed since its introduction anyway 2016-09-05 18:50:53 +01:00
84247128b4 Remove addInputState(stateRef, notary) from TransactionBuilder API, as it might lead to issues where someone accidentally provides a different notary than the one in the state 2016-09-05 18:47:51 +01:00
aa166518a0 Remove unused val 2016-09-05 18:41:35 +01:00
cb467e55de Merged in aslemmer-driver-dont-use-localhost (pull request #327)
node-driver: Use anyAddress for RandomFree port allication
2016-09-05 18:30:28 +01:00
d8ae07e771 node-driver: Use anyAddress for RandomFree port allication 2016-09-05 17:29:44 +01:00
9836edd191 Revert reuseaddr 2016-09-05 16:08:58 +01:00
a4d2b28b6b Merged in rog-timeout-patch (pull request #322)
waitForNodeStartup should now throw after 2 minutes rather than 20 seconds. Some bank devs were finding integration tests failing as nodes had still not started...

Added getFreeLocalPorts() for grabbing more than one port. Fixes bug in freeLocalHostAndPort() where the same port can be picked multiple times.

In README.md instruct users to grab IntelliJ16 instead of 15.
2016-09-05 16:06:05 +01:00
da34be752a Merged in aslemmer-remove-reuse-addr (pull request #324)
node-driver: Remove reuseAddress = true as it breaks tests on osx
2016-09-05 15:43:27 +01:00
6b37048a14 node-driver: Remove reuseAddress = true as it breaks tests on osx 2016-09-05 15:43:19 +01:00
97e1a59770 Refactored FiberRequest into cleaner ProtocolIORequest and fixed checkpoint regression 2016-09-05 14:42:54 +01:00
a2d7490902 Merged in mnesbit-cleanup-protect-double-stop (pull request #323)
Some integration tests seem to be getting exceptions that suggest the ArtemisMQ session has been closed twice.
2016-09-05 14:27:38 +01:00
eb8510e7cc Some integration tests seem to be getting exceptions that suggest the ArtemisMQ session has been closed down already. Looking at the client code it is clear two threads can call stop and interfere with each other. Therefore this fixes the running flag logic. 2016-09-05 14:13:38 +01:00
ea3c63e023 Merged in mike-so-reuseaddr (pull request #321)
Testing: Make PortAllocation set SO_REUSEADDR to avoid CI conflicts
2016-09-05 12:24:52 +01:00
637a41401d node-driver: Reuse address when polling for port, poll for correct condition\(!\) 2016-09-05 11:04:31 +01:00
9cfbb71030 In README.md instruct users to grab latest version of IntelliJ. 2016-09-05 10:45:16 +01:00
f5b90ab8e5 In README.md instruct users to grab IntelliJ16 instead of 15. 2016-09-05 10:38:44 +01:00
3854fec17f Testing: Make PortAllocation set SO_REUSEADDR to avoid CI conflicts 2016-09-05 11:22:00 +02:00
fffc049e12 Universal: refactoring, reduction/evaluation with unit test first steps 2016-09-04 22:50:32 +02:00
116bb7c1ba Merged in aslemmer-fix-wallet-monitor-service-tests (pull request #319)
Fix wallet monitor service tests
2016-09-02 09:26:40 +01:00
32d96b78a8 Add missing dependency on test-utils 2016-09-01 18:36:19 +01:00
ca1b0083ed node: Clean up messy issue in test 2016-09-01 18:15:47 +01:00
0298ccf0d6 test-utils: Rename repeat to replicate due to name clashes 2016-09-01 18:15:47 +01:00
dded4c6e8f node: FIx WalletMonitorService tests 2016-09-01 18:15:47 +01:00
5b2157cdc8 client, test-utils: Move Expect dsl to test-utils 2016-09-01 18:15:47 +01:00
0fb9f37518 Merged in rnicoll-warnings (pull request #315)
Correct warnings
2016-09-01 16:40:57 +01:00
4d0b23ab6f Add log4j-web to node
Add log4j-web to node so it stops complaining that it's running in a web environment without that option.
Longer term we may want to split the web parts into their own optional extra for node, but for now I think
this is a sensible solution.
2016-09-01 16:15:15 +01:00
9cccc7a2b7 Correct warnings 2016-09-01 16:15:15 +01:00
b913b18e02 Merged in rnicoll-simulations (pull request #314)
Move test code from node to test-utils
2016-09-01 15:21:34 +01:00
102e3f2048 Merged in rnicoll-clause-remove-concrete (pull request #316)
Merge ConcreteClause into Clause
2016-09-01 13:42:56 +01:00
a77556f72c Merged in mnesbit-exclude-bouncycastle-jdk14 (pull request #317)
Remove bouncycastle-jdk14 that is causing problems for one of the member banks.
2016-09-01 11:26:46 +01:00
868b23a923 Move simulations to top level 2016-09-01 11:15:05 +01:00
07f44e9e2a Move test code from node to test-utils 2016-09-01 11:15:05 +01:00
039229cdfd Remove bouncycastle-jdk14 that is causing problems for one of the member banks.
Only need testCompile scope
2016-09-01 11:04:48 +01:00
6af7945dc6 Merged in aslemmer-node-client (pull request #305)
Aslemmer node client
2016-09-01 10:22:50 +01:00
1f095533be client: Remove when (this) 2016-09-01 10:14:37 +01:00
5d04bd2cad client: Small comment correction 2016-09-01 09:38:04 +01:00
0f54aec6ac client: Add repeat\(n\) to Expect dsl 2016-09-01 09:36:06 +01:00
af641ab977 client: Small cosmetics 2016-09-01 09:36:06 +01:00