File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env python3
2
- # Copyright (c) 2021-2022 The Bitcoin Core developers
2
+ # Copyright (c) 2021-present The Bitcoin Core developers
3
3
# Distributed under the MIT software license, see the accompanying
4
4
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
5
5
"""Stress tests related to node initialization."""
6
6
import os
7
7
from pathlib import Path
8
- from random import randint
9
8
import shutil
10
9
11
10
from test_framework .test_framework import BitcoinTestFramework , SkipTest
@@ -138,8 +137,8 @@ def check_clean_start():
138
137
# Since the genesis block is not checked by -checkblocks, the
139
138
# perturbation window must be chosen such that a higher block
140
139
# in blk*.dat is affected.
141
- tf .seek (randint ( 150 , 15000 ) )
142
- tf .write (b'1' * randint ( 20 , 2000 ) )
140
+ tf .seek (150 )
141
+ tf .write (b"1" * 200 )
143
142
144
143
start_expecting_error (err_fragment )
145
144
You can’t perform that action at this time.
0 commit comments