Skip to content

Commit

Permalink
Fix failed state_sync_fail.py test on nayduck (#7575)
Browse files Browse the repository at this point in the history
  • Loading branch information
mzhangmzz authored and Nikolay Kurtov committed Nov 9, 2022
1 parent 30cd1a7 commit 98e943e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 deletions.
2 changes: 1 addition & 1 deletion nightly/pytest-sanity.txt
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ pytest sanity/proxy_example.py --features nightly
pytest sanity/rpc_tx_submission.py
pytest sanity/rpc_tx_submission.py --features nightly
pytest sanity/state_sync_fail.py
pytest sanity/state_sync_fail.py --features nightly
# TODO(#4618): Those tests are currently broken. Comment out while we’re
# working on a fix / deciding whether to remove them.
#pytest sanity/state_sync_fail.py --features nightly
# TODO(#5095): Currently broken.
#pytest sanity/garbage_collection_sharding_upgrade.py
#pytest sanity/garbage_collection_sharding_upgrade.py --features nightly
Expand Down
15 changes: 2 additions & 13 deletions pytest/tests/sanity/state_sync_fail.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,8 @@
near_root, node_dirs = init_cluster(
2, 1, 1, config,
[["min_gas_price", 0], ["max_inflation_rate", [0, 1]], ["epoch_length", 10],
["protocol_version", 47],
[
"simple_nightshade_shard_layout", {
"V1": {
"fixed_shards": [],
"boundary_accounts":
["aurora", "aurora-0", "kkuuue2akv_1630967379.near"],
"shards_split_map": [[0, 1, 2, 3]],
"to_parent_shard_map": [0, 0, 0, 0],
"version": 1
}
}
], ["block_producer_kickout_threshold", 80]], {
["protocol_version", 47], ["use_production_config", True],
["block_producer_kickout_threshold", 80]], {
0: {
"tracked_shards": [0]
},
Expand Down

0 comments on commit 98e943e

Please sign in to comment.