File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -293,19 +293,21 @@ if(BUILD_TESTS)
293293 --scenario ${CMAKE_SOURCE_DIR} /tests/simple_logging_scenario.json
294294 )
295295
296- add_e2e_test (
297- NAME election_tests
298- PYTHON_SCRIPT ${CMAKE_SOURCE_DIR} /tests/election.py
299- ADDITIONAL_ARGS
300- --election-timeout 2000
301- )
296+ if (NOT PBFT)
297+ add_e2e_test (
298+ NAME election_tests
299+ PYTHON_SCRIPT ${CMAKE_SOURCE_DIR} /tests/election.py
300+ ADDITIONAL_ARGS
301+ --election-timeout 2000
302+ )
302303
303- add_e2e_test (
304- NAME recovery_tests
305- PYTHON_SCRIPT ${CMAKE_SOURCE_DIR} /tests/recovery.py
306- ADDITIONAL_ARGS
307- ${RECOVERY_ARGS}
308- )
304+ add_e2e_test (
305+ NAME recovery_tests
306+ PYTHON_SCRIPT ${CMAKE_SOURCE_DIR} /tests/recovery.py
307+ ADDITIONAL_ARGS
308+ ${RECOVERY_ARGS}
309+ )
310+ endif ()
309311
310312 if (BUILD_SMALLBANK)
311313 include (${CMAKE_CURRENT_SOURCE_DIR} /samples/apps/smallbank/smallbank.cmake )
You can’t perform that action at this time.
0 commit comments