Skip to content

Commit

Permalink
GH-1510 Added nodeos_read_terminate_at_block_if_lr_test commented out…
Browse files Browse the repository at this point in the history
… for now until GH-2057 complete
  • Loading branch information
heifner committed Jan 26, 2024
1 parent 75f94b4 commit 88714b0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,9 @@ set_property(TEST nodeos_irreversible_mode_lr_test PROPERTY LABELS long_running_

add_test(NAME nodeos_read_terminate_at_block_lr_test COMMAND tests/nodeos_read_terminate_at_block_test.py -v ${UNSHARE} WORKING_DIRECTORY ${CMAKE_BINARY_DIR})
set_property(TEST nodeos_read_terminate_at_block_lr_test PROPERTY LABELS long_running_tests)
# requires https://github.com/AntelopeIO/leap/issues/2057 because running in irreversible mode currently switches different than non-irreversible mode
#add_test(NAME nodeos_read_terminate_at_block_if_lr_test COMMAND tests/nodeos_read_terminate_at_block_test.py --activate-if -v ${UNSHARE} WORKING_DIRECTORY ${CMAKE_BINARY_DIR})
#set_property(TEST nodeos_read_terminate_at_block_if_lr_test PROPERTY LABELS long_running_tests)

add_test(NAME nodeos_chainbase_allocation_test COMMAND tests/nodeos_chainbase_allocation_test.py -v ${UNSHARE} WORKING_DIRECTORY ${CMAKE_BINARY_DIR})
set_property(TEST nodeos_chainbase_allocation_test PROPERTY LABELS nonparallelizable_tests)
Expand Down
3 changes: 3 additions & 0 deletions tests/nodeos_read_terminate_at_block_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,15 @@
# Parse command line arguments
args = TestHelper.parse_args({
"-v",
"--activate-if",
"--dump-error-details",
"--leave-running",
"--keep-logs",
"--unshared"
})

Utils.Debug = args.v
activateIF=args.activate_if
dumpErrorDetails = args.dump_error_details

# Wrapper function to execute test
Expand Down Expand Up @@ -195,6 +197,7 @@ def checkHeadOrSpeculative(head, lib):
totalNodes=totalNodes,
pnodes=1,
topo="mesh",
activateIF=activateIF,
specificExtraNodeosArgs=specificNodeosArgs,
)

Expand Down

0 comments on commit 88714b0

Please sign in to comment.