-
Notifications
You must be signed in to change notification settings - Fork 11.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove balance from client test and added object ownership checks in …
…test (#48) * fund account using objects instead of amount * refactored get_strong_majority_balance to object_ownership_have_quorum to confirm the client have ownership of an object in test Co-authored-by: François Garillot <[email protected]>
- Loading branch information
1 parent
41afeea
commit cbb6c89
Showing
4 changed files
with
186 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
cbb6c89
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bench results
�[0m�[0m�[1m�[32m Finished�[0m release [optimized + debuginfo] target(s) in 1.27s
�[0m�[0m�[1m�[32m Running�[0m
target/release/bench
[2021-12-17T10:57:19Z INFO bench] Preparing accounts.
[2021-12-17T10:57:21Z INFO bench] Preparing transactions.
[2021-12-17T10:57:30Z INFO fastpay::network] Listening to Udp traffic on 127.0.0.1:9569
[2021-12-17T10:57:30Z INFO fastpay::network] Listening to Udp traffic on 127.0.0.1:9559
[2021-12-17T10:57:30Z INFO fastpay::network] Listening to Udp traffic on 127.0.0.1:9558
[2021-12-17T10:57:30Z INFO fastpay::network] Listening to Udp traffic on 127.0.0.1:9557
[2021-12-17T10:57:30Z INFO fastpay::network] Listening to Udp traffic on 127.0.0.1:9555
[2021-12-17T10:57:30Z INFO fastpay::network] Listening to Udp traffic on 127.0.0.1:9560
[2021-12-17T10:57:30Z INFO fastpay::network] Listening to Udp traffic on 127.0.0.1:9561
[2021-12-17T10:57:30Z INFO fastpay::network] Listening to Udp traffic on 127.0.0.1:9562
[2021-12-17T10:57:30Z INFO fastpay::network] Listening to Udp traffic on 127.0.0.1:9563
[2021-12-17T10:57:30Z INFO fastpay::network] Listening to Udp traffic on 127.0.0.1:9556
[2021-12-17T10:57:30Z INFO fastpay::network] Listening to Udp traffic on 127.0.0.1:9568
[2021-12-17T10:57:30Z INFO fastpay::network] Listening to Udp traffic on 127.0.0.1:9564
[2021-12-17T10:57:30Z INFO fastpay::network] Listening to Udp traffic on 127.0.0.1:9566
[2021-12-17T10:57:30Z INFO fastpay::network] Listening to Udp traffic on 127.0.0.1:9567
[2021-12-17T10:57:30Z INFO fastpay::network] Listening to Udp traffic on 127.0.0.1:9565
[2021-12-17T10:57:31Z INFO bench] Set max_in_flight per shard to 66
[2021-12-17T10:57:31Z INFO bench] Sending requests.
[2021-12-17T10:57:31Z INFO fastpay::network] Sending Udp requests to 127.0.0.1:9568 (shard 13)
[2021-12-17T10:57:31Z INFO fastpay::network] Sending Udp requests to 127.0.0.1:9555 (shard 0)
[2021-12-17T10:57:31Z INFO fastpay::network] Sending Udp requests to 127.0.0.1:9565 (shard 10)
[2021-12-17T10:57:31Z INFO fastpay::network] Sending Udp requests to 127.0.0.1:9556 (shard 1)
[2021-12-17T10:57:31Z INFO fastpay::network] Sending Udp requests to 127.0.0.1:9564 (shard 9)
[2021-12-17T10:57:31Z INFO fastpay::network] Sending Udp requests to 127.0.0.1:9557 (shard 2)
[2021-12-17T10:57:31Z INFO fastpay::network] Sending Udp requests to 127.0.0.1:9561 (shard 6)
[2021-12-17T10:57:31Z INFO fastpay::network] Sending Udp requests to 127.0.0.1:9567 (shard 12)
[2021-12-17T10:57:31Z INFO fastpay::network] Sending Udp requests to 127.0.0.1:9560 (shard 5)
[2021-12-17T10:57:31Z INFO fastpay::network] Sending Udp requests to 127.0.0.1:9566 (shard 11)
[2021-12-17T10:57:31Z INFO fastpay::network] Sending Udp requests to 127.0.0.1:9569 (shard 14)
[2021-12-17T10:57:31Z INFO fastpay::network] Sending Udp requests to 127.0.0.1:9558 (shard 3)
[2021-12-17T10:57:31Z INFO fastpay::network] Sending Udp requests to 127.0.0.1:9562 (shard 7)
[2021-12-17T10:57:31Z INFO fastpay::network] Sending Udp requests to 127.0.0.1:9563 (shard 8)
[2021-12-17T10:57:31Z INFO fastpay::network] Sending Udp requests to 127.0.0.1:9559 (shard 4)
[2021-12-17T10:57:32Z INFO fastpay::network] In flight 66 Remaining 5000
[2021-12-17T10:57:43Z INFO fastpay::network] 127.0.0.1:9555 (shard 0) has processed 5000 packets
[2021-12-17T10:57:43Z INFO fastpay::network] 127.0.0.1:9557 (shard 2) has processed 5000 packets
[2021-12-17T10:57:43Z INFO fastpay::network] 127.0.0.1:9559 (shard 4) has processed 5000 packets
[2021-12-17T10:57:43Z INFO fastpay::network] 127.0.0.1:9556 (shard 1) has processed 5000 packets
[2021-12-17T10:57:43Z INFO fastpay::network] 127.0.0.1:9564 (shard 9) has processed 5000 packets
[2021-12-17T10:57:43Z INFO fastpay::network] 127.0.0.1:9568 (shard 13) has processed 5000 packets
[2021-12-17T10:57:43Z INFO fastpay::network] 127.0.0.1:9563 (shard 8) has processed 5000 packets
[2021-12-17T10:57:43Z INFO fastpay::network] Done sending Udp requests to 127.0.0.1:9555 (shard 0)
[2021-12-17T10:57:43Z INFO fastpay::network] 127.0.0.1:9558 (shard 3) has processed 5000 packets
[2021-12-17T10:57:43Z INFO fastpay::network] 127.0.0.1:9562 (shard 7) has processed 5000 packets
[2021-12-17T10:57:43Z INFO fastpay::network] 127.0.0.1:9569 (shard 14) has processed 5000 packets
[2021-12-17T10:57:43Z INFO fastpay::network] 127.0.0.1:9567 (shard 12) has processed 5000 packets
[2021-12-17T10:57:43Z INFO fastpay::network] Done sending Udp requests to 127.0.0.1:9559 (shard 4)
[2021-12-17T10:57:43Z INFO fastpay::network] Done sending Udp requests to 127.0.0.1:9568 (shard 13)
[2021-12-17T10:57:43Z INFO fastpay::network] 127.0.0.1:9566 (shard 11) has processed 5000 packets
[2021-12-17T10:57:43Z INFO fastpay::network] 127.0.0.1:9561 (shard 6) has processed 5000 packets
[2021-12-17T10:57:43Z INFO fastpay::network] 127.0.0.1:9565 (shard 10) has processed 5000 packets
[2021-12-17T10:57:43Z INFO fastpay::network] Done sending Udp requests to 127.0.0.1:9567 (shard 12)
[2021-12-17T10:57:43Z INFO fastpay::network] 127.0.0.1:9560 (shard 5) has processed 5000 packets
[2021-12-17T10:57:44Z INFO fastpay::network] Done sending Udp requests to 127.0.0.1:9557 (shard 2)
[2021-12-17T10:57:44Z INFO fastpay::network] Done sending Udp requests to 127.0.0.1:9562 (shard 7)
[2021-12-17T10:57:44Z INFO fastpay::network] Done sending Udp requests to 127.0.0.1:9564 (shard 9)
[2021-12-17T10:57:44Z INFO fastpay::network] Done sending Udp requests to 127.0.0.1:9556 (shard 1)
[2021-12-17T10:57:44Z INFO fastpay::network] Done sending Udp requests to 127.0.0.1:9563 (shard 8)
[2021-12-17T10:57:44Z INFO fastpay::network] Done sending Udp requests to 127.0.0.1:9565 (shard 10)
[2021-12-17T10:57:44Z INFO fastpay::network] Done sending Udp requests to 127.0.0.1:9569 (shard 14)
[2021-12-17T10:57:44Z INFO fastpay::network] Done sending Udp requests to 127.0.0.1:9566 (shard 11)
[2021-12-17T10:57:44Z INFO fastpay::network] Done sending Udp requests to 127.0.0.1:9558 (shard 3)
[2021-12-17T10:57:44Z INFO fastpay::network] Done sending Udp requests to 127.0.0.1:9560 (shard 5)
[2021-12-17T10:57:44Z INFO fastpay::network] Done sending Udp requests to 127.0.0.1:9561 (shard 6)
[2021-12-17T10:57:44Z INFO bench] Received 80000 responses.
[2021-12-17T10:57:44Z WARN bench] Total time: 12404561ms, items: 40000, tx/sec: 3224.6203634292256