digibyte / digibyte

This account is now archived. All DGB development has moved to DigiByte-Core. https://github.com/DigiByte-Core/digibyte
https://github.com/DigiByte-Core/digibyte
MIT License
381 stars 238 forks source link

test: correct denialofservice_tests #222

Closed SmartArray closed 3 years ago

SmartArray commented 3 years ago

DigiByte specific denialofservice_tests

What is the intention of this PR?

This PR fixes the denialofservice_tests with DigiByte's specific Block Time Configuration.

Description of the changes

The commit https://github.com/SmartArray/digibyte/commit/a9032a4545b0bfa43e3d1774ccc0a9713779500a updated the denialofservice_tests unit test in order to test DigiBytes Stability against Denial Of Service Attacks.

How to verify?

1) Change to the directory src/test 2) Compile the test suite 3) Run it using

./test_digibyte --run_test= denialofservice_tests

Expected outcome

$ ./test_digibyte --run_test=denialofservice_tests                   
Running 6 test cases...

*** No errors detected