diff --git a/CMakeLists.txt b/CMakeLists.txt index 38b70215f6..255e1cd67d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -527,7 +527,7 @@ if(BUILD_TESTS) NAME code_update_test PYTHON_SCRIPT ${CMAKE_SOURCE_DIR}/tests/code_update.py CONSENSUS raft - ADDITIONAL_ARGS --oesign ${OE_SIGN_PATH} --raft-election-timeout 10000 + ADDITIONAL_ARGS --oesign ${OE_SIGN_PATH} --raft-election-timeout 20000 ) add_e2e_test( @@ -586,9 +586,9 @@ if(BUILD_TESTS) ) if(${CONSENSUS} STREQUAL pbft) - set(ELECTION_TIMEOUT_ARG "--pbft-view-change-timeout" "2000") + set(ELECTION_TIMEOUT_ARG "--pbft-view-change-timeout" "4000") else() - set(ELECTION_TIMEOUT_ARG "--raft-election-timeout" "2000") + set(ELECTION_TIMEOUT_ARG "--raft-election-timeout" "4000") endif() if((${CONSENSUS} STREQUAL raft) OR (EXPERIMENTAL_PBFT_TESTS