Closed ryanewel closed 5 years ago
Issue #, if available:
Description of changes: Adds validation for CPU resource attack.
Test project /home/ubuntu/sec_test_ws/build/ros_sec_test Start 1: test_service_utils 1/13 Test #1: test_service_utils ............... Passed 0.38 sec Start 2: test_client_utils 2/13 Test #2: test_client_utils ................ Passed 0.62 sec Start 3: test_runner 3/13 Test #3: test_runner ...................... Passed 0.63 sec Start 4: test_attack_noop 4/13 Test #4: test_attack_noop ................. Passed 1.23 sec Start 5: test_attack_resources_cpu 5/13 Test #5: test_attack_resources_cpu ........ Passed 1.23 sec Start 6: test_attack_resources_disk 6/13 Test #6: test_attack_resources_disk ....... Passed 1.23 sec Start 7: test_attack_resources_memory 7/13 Test #7: test_attack_resources_memory ..... Passed 1.23 sec Start 8: copyright 8/13 Test #8: copyright ........................ Passed 0.99 sec Start 9: cppcheck 9/13 Test #9: cppcheck ......................... Passed 0.99 sec Start 10: cpplint 10/13 Test #10: cpplint .......................... Passed 1.57 sec Start 11: lint_cmake 11/13 Test #11: lint_cmake ....................... Passed 0.94 sec Start 12: uncrustify 12/13 Test #12: uncrustify ....................... Passed 1.20 sec Start 13: xmllint 13/13 Test #13: xmllint .......................... Passed 1.10 sec 100% tests passed, 0 tests failed out of 13 Label Time Summary: copyright = 0.99 sec*proc (1 test) cppcheck = 0.99 sec*proc (1 test) cpplint = 1.57 sec*proc (1 test) gmock = 0.63 sec*proc (1 test) gtest = 5.91 sec*proc (6 tests) lint_cmake = 0.94 sec*proc (1 test) linter = 6.80 sec*proc (6 tests) uncrustify = 1.20 sec*proc (1 test) xmllint = 1.10 sec*proc (1 test) Total Test time (real) = 13.35 sec
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Issue #, if available:
Description of changes: Adds validation for CPU resource attack.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.