Commit Graph

129 Commits

Author SHA1 Message Date
Alex Willmer ab33249844 utils: Add test for IPDesc.String 2020-04-02 22:34:46 +01:00
Alex Willmer 631615d907 utils: Add test for IPDesc.PortString 2020-04-02 22:33:38 +01:00
Alex Willmer 599756feb8 utils: Add test for IPDesc.Equal 2020-04-02 22:32:41 +01:00
Stephen Buttolph f6f5c05dd1
Merge pull request #44 from moreati/utils-formatting-test
utils: Add tests for CB58.UnmarshalJSON
2020-04-01 14:26:04 -04:00
Stephen Buttolph c2f8d0182b
Merge branch 'master' into utils-formatting-test 2020-04-01 14:17:55 -04:00
Stephen Buttolph f1dd9a7ddf
Merge pull request #45 from moreati/ids-test
ids: Add tests of ID and QueueSet
2020-04-01 14:17:38 -04:00
Stephen Buttolph f9752ac080
Merge branch 'master' into ids-test 2020-04-01 14:08:33 -04:00
Stephen Buttolph b138402f4c
Merge pull request #43 from bb-2/error_msgs
Logging message fix
2020-04-01 14:08:11 -04:00
Alex Willmer 507bbd8d0a ids: Add tests for QueueSet.{init, SetHead, Append, GetTail} 2020-04-01 19:00:20 +01:00
Alex Willmer 0c30a3235f ids: Add test for ID.IsSortedAndUniqueIDs 2020-04-01 18:58:58 +01:00
Alex Willmer 61b01c9273 ids: Add test for SortIDs 2020-04-01 18:58:12 +01:00
Alex Willmer a62eb9b833 ids: Add test for ID.String 2020-04-01 18:57:40 +01:00
Alex Willmer 6f111f9dae ids: Add test for ID.Hex 2020-04-01 18:56:41 +01:00
Alex Willmer 63a4915f40 ids: Add test for ID.UnmarshalJSON 2020-04-01 18:56:03 +01:00
Alex Willmer 0ea1dc0c50 ids: Add test for ID.MarshalJSON 2020-04-01 18:55:24 +01:00
Alex Willmer 8a2d8a6f94 ids: Add test for ID.FromString errors 2020-04-01 18:51:01 +01:00
Alex Willmer d90baa383c utils: Add tests for CB58.UnmarshalJSON 2020-04-01 18:48:59 +01:00
bb-2 f288c544a6 sp fix for voting_handler logging message 2020-04-01 09:18:56 -04:00
Stephen Buttolph e8c6188b27
Merge pull request #33 from StephenButtolph/json
Added proper json marshalling of UniqueTxs in the AVM
2020-03-30 20:58:26 -04:00
Stephen Buttolph 9f553be087
Merge branch 'master' into json 2020-03-30 20:35:14 -04:00
Stephen Buttolph e0e11b939f
Merge pull request #34 from bb-2/concurrent_repolling
Add ConcurrentRepolls to make the polling throughput configurable
2020-03-30 20:34:54 -04:00
Stephen Buttolph 1b6a703c27
Merge branch 'master' into concurrent_repolling 2020-03-30 15:10:33 -04:00
bb-2 c49b0c0ff6 Issue multiple polls at vertex/block issuance if below ConcurrentRepoll threshold 2020-03-29 21:00:45 -04:00
Stephen Buttolph 6c549d1504
Merge pull request #36 from moreati/utils-clock_test
utils: Add unit tests for clocks
2020-03-29 15:57:26 -04:00
Stephen Buttolph 1d3238a048
Merge branch 'master' into utils-clock_test 2020-03-29 14:35:37 -04:00
Stephen Buttolph 51db41a696
Merge pull request #38 from moreati/utils-packing_test
utils: Tests for Packer packing and unpacking
2020-03-29 14:34:41 -04:00
Stephen Buttolph e63037e66d
Merge branch 'master' into utils-packing_test 2020-03-29 14:26:16 -04:00
Stephen Buttolph a8dadacae9
Merge pull request #35 from moreati/aws-create-argparse
scripts: Parse create.py arguments with argparse
2020-03-29 14:25:40 -04:00
Alex Willmer 8f54a7c1d8 utils: Initialise Clock with go defaults in TestClockSet
Changed to be more idiomatic, addresses PR feedback.
2020-03-29 19:20:28 +01:00
Stephen Buttolph ce36715019
Merge branch 'master' into aws-create-argparse 2020-03-29 13:53:02 -04:00
Stephen Buttolph 209363ba67
Merge branch 'master' into utils-packing_test 2020-03-29 13:45:02 -04:00
Stephen Buttolph 4dcf02e45e
Merge pull request #37 from moreati/utils-safe_math_test
utils: Add tests in safe_math: Max64, Min64, Sub64, Diff64
2020-03-29 13:33:35 -04:00
Alex Willmer 12117b1728 utils: Add test for Packer.Expand 2020-03-29 17:43:18 +01:00
Alex Willmer 18b7662266 utils: Add test for Packer.CheckSpace 2020-03-29 17:42:47 +01:00
Alex Willmer 96109a60ea utils: Add tests for Packer.PackBool & UnpackBool 2020-03-29 17:42:12 +01:00
Alex Willmer 55cb9d174f utils: Add tests for Packer.PackFixedByteSlices & UnpackFixedByteSlices 2020-03-29 17:40:47 +01:00
Alex Willmer ae9c1549d0 utils: Add tests for Packer.PackBytes & UnpackBytes 2020-03-29 17:39:32 +01:00
Alex Willmer 66b031efc6 utils: Add tests for Packer.PackFixedBytes & UnpackFixedBytes 2020-03-29 17:10:16 +01:00
Alex Willmer 3914613731 utils: Add test for Packer.UnpackLong 2020-03-29 17:07:53 +01:00
Alex Willmer 9a4a44a764 utils: Add test for Packer.UnpackInt 2020-03-29 17:06:25 +01:00
Alex Willmer 80e6749592 utils: Add test for Packer.UnpackShort 2020-03-29 17:05:03 +01:00
Alex Willmer cd59668be5 utils: Add test for Packer.UnpackByte 2020-03-29 17:04:21 +01:00
Alex Willmer aef48061c5 utils: Add tests in safe_math: Max64, Min64, Sub64, Diff64 2020-03-29 16:57:42 +01:00
Alex Willmer 52e3d427a1 utils: Add unit tests for clocks 2020-03-29 16:53:55 +01:00
Alex Willmer a718b32c6a scripts: Add a hashbang, so aws create.py can be run directly 2020-03-29 16:42:01 +01:00
Alex Willmer bf1a94611e scripts: Use argparse for create.py arguments
This gives better feedback on what arguments are required

$ python3 scripts/aws/create.py
usage: create.py [-h] numBootstraps numNodes
create.py: error: the following arguments are required: numBootstraps,
numNodes

$ python3 scripts/aws/create.py -h
usage: create.py [-h] numBootstraps numNodes

Start a number of AVA nodes on Amazon EC2

positional arguments:
  numBootstraps
  numNodes

optional arguments:
  -h, --help     show this help message and exit
2020-03-29 16:39:51 +01:00
bb-2 6bde51cb7c fix formatting errors 2020-03-28 17:03:45 -04:00
bbuttrick 7b8b690df5 Add a ConcurrentRepolls variable to make the polling throughput configurable with a minimum threshold 2020-03-28 16:55:11 -04:00
StephenButtolph 3847e64a0a Fixed xput test 2020-03-27 17:10:37 -04:00
StephenButtolph a0b999950d removed json dump in unit test 2020-03-27 16:56:43 -04:00