Set custody subnets on tests (#6382)

* Set custody subnets on tests

* Enable sampling_with_retries test

* Add another supernode to ensure the node can retry
This commit is contained in:
Akihito Nakano
2024-09-12 15:29:26 +09:00
committed by GitHub
parent e5a40fb73b
commit 351dd6cb80
2 changed files with 14 additions and 2 deletions

View File

@@ -1972,12 +1972,13 @@ fn sampling_happy_path() {
}
#[test]
#[ignore] // Ignoring due to flakiness https://github.com/sigp/lighthouse/issues/6319
fn sampling_with_retries() {
let Some(mut r) = TestRig::test_setup_after_peerdas() else {
return;
};
r.new_connected_peers_for_peerdas();
// Add another supernode to ensure that the node can retry.
r.new_connected_supernode_peer();
let (block, data_columns) = r.rand_block_and_data_columns();
let block_root = block.canonical_root();
r.trigger_sample_block(block_root, block.slot());