diff --git a/tests/integration/artifacts_generation/test_artifacts_generation.sh b/tests/integration/artifacts_generation/test_artifacts_generation.sh index e32d16f3e7..f50f95b398 100755 --- a/tests/integration/artifacts_generation/test_artifacts_generation.sh +++ b/tests/integration/artifacts_generation/test_artifacts_generation.sh @@ -20,7 +20,7 @@ test_generate_artifacts_from_scratch_by_hived() { cp "$SOURCE_100K_BLOCK_LOG_PATTERN" "$TEST_BLOCKCHAIN_DIR/block_log" # Note that both block_log.artifacts & block_log_part.0001.artifacts are created below # due to a combination of hived's default split setting & auto-split feature - "$HIVED_BINARY_PATH" -d "$TEST_DATA_DIR" --replay --exit-before-sync + "$HIVED_BINARY_PATH" -d "$TEST_DATA_DIR" --replay --exit-before-sync --shared-file-size=1G "$BLOCK_LOG_UTIL_BINARY_PATH" --get-block-artifacts --block-log "$TEST_BLOCKCHAIN_DIR/block_log" --do-full-artifacts-verification-match-check --header-only "$BLOCK_LOG_UTIL_BINARY_PATH" --get-block-artifacts --block-log "$TEST_BLOCKCHAIN_DIR/block_log_part.0001" --do-full-artifacts-verification-match-check --header-only } @@ -35,7 +35,7 @@ test_generate_artifacts_override_old_file_by_hived() { cp "$SOURCE_100K_BLOCK_LOG_PATTERN" "$TEST_BLOCKCHAIN_DIR/block_log" cp "$SOURCE_ARTIFACTS_V_1_0_PATTERN" "$TEST_BLOCKCHAIN_DIR/block_log.artifacts" cp "$SOURCE_ARTIFACTS_V_1_0_PATTERN" "$TEST_BLOCKCHAIN_DIR/block_log_part.0001.artifacts" - "$HIVED_BINARY_PATH" -d "$TEST_DATA_DIR" --replay --exit-before-sync + "$HIVED_BINARY_PATH" -d "$TEST_DATA_DIR" --replay --exit-before-sync --shared-file-size=1G "$BLOCK_LOG_UTIL_BINARY_PATH" --get-block-artifacts --block-log "$TEST_BLOCKCHAIN_DIR/block_log" --do-full-artifacts-verification-match-check --header-only "$BLOCK_LOG_UTIL_BINARY_PATH" --get-block-artifacts --block-log "$TEST_BLOCKCHAIN_DIR/block_log_part.0001" --do-full-artifacts-verification-match-check --header-only } @@ -47,7 +47,7 @@ test_resume_artifacts_generating_process_by_hived() { mkdir -p "$TEST_BLOCKCHAIN_DIR" cp "$SOURCE_100K_BLOCK_LOG_PATTERN" "$TEST_BLOCKCHAIN_DIR/block_log" cp "$SOURCE_ARTIFACTS_V_1_1_INTERRUPTED_PATTERN" "$TEST_BLOCKCHAIN_DIR/block_log.artifacts" - "$HIVED_BINARY_PATH" -d "$TEST_DATA_DIR" --replay --exit-before-sync + "$HIVED_BINARY_PATH" -d "$TEST_DATA_DIR" --replay --exit-before-sync --shared-file-size=1G "$BLOCK_LOG_UTIL_BINARY_PATH" --get-block-artifacts --block-log "$TEST_BLOCKCHAIN_DIR/block_log" --do-full-artifacts-verification-match-check --header-only } diff --git a/tests/integration/test_several_node_restarts.sh b/tests/integration/test_several_node_restarts.sh index 51f6861266..941fb068ee 100755 --- a/tests/integration/test_several_node_restarts.sh +++ b/tests/integration/test_several_node_restarts.sh @@ -30,12 +30,12 @@ echo "Create replay environment..." "$SCRIPTS_PATH/ci-helpers/prepare_data_and_shm_dir.sh" --data-base-dir="$SOURCE_DATA_DIR" --block-log-source-dir="$BLOCK_LOG_SOURCE_DIR" --config-ini-source="$CONFIG_INI_SOURCE" echo "Start first replay: " -"$SCRIPTS_PATH"/run_hived_img.sh "$HIVED_IMAGE_NAME" --data-dir="$SOURCE_DATA_DIR"/datadir --name=first-replay-container --docker-option="--network=bridge" --replay --stop-at-block=$first_replay_block_limit --detach +"$SCRIPTS_PATH"/run_hived_img.sh "$HIVED_IMAGE_NAME" --data-dir="$SOURCE_DATA_DIR"/datadir --name=first-replay-container --docker-option="--network=bridge" --replay --stop-at-block=$first_replay_block_limit --detach --shared-file-size=1G wait_for_instance first-replay-container $first_replay_block_limit stop_instance "first-replay-container" echo "Start second replay: " -"$SCRIPTS_PATH"/run_hived_img.sh "$HIVED_IMAGE_NAME" --data-dir="$SOURCE_DATA_DIR"/datadir --name=second-replay-container --docker-option="--network=bridge" --replay --stop-at-block=$second_replay_block_limit --detach +"$SCRIPTS_PATH"/run_hived_img.sh "$HIVED_IMAGE_NAME" --data-dir="$SOURCE_DATA_DIR"/datadir --name=second-replay-container --docker-option="--network=bridge" --replay --stop-at-block=$second_replay_block_limit --detach --shared-file-size=1G wait_for_instance second-replay-container $second_replay_block_limit stop_instance "second-replay-container"