Skip to content

Commit

Permalink
test for test flakiness
Browse files Browse the repository at this point in the history
  • Loading branch information
divyanshk committed Jan 21, 2025
1 parent 7a65102 commit 25062f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/nodes/test_multi_node_weighted_sampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def _setup_multi_node_weighted_sampler(self, num_samples, num_datasets, weights_
datasets = {f"ds{i}": IterableWrapper(DummyIterableDataset(num_samples, f"ds{i}")) for i in range(num_datasets)}
weights = {f"ds{i}": weights_fn(i) for i in range(num_datasets)}
node = MultiNodeWeightedSampler(datasets, weights, stop_criteria)
return Prefetcher(node, prefetch_factor=1)
return Prefetcher(node, prefetch_factor=3)

def test_multi_node_weighted_sampler_weight_sampler_keys_mismatch(self) -> None:
"""Test validation logic for MultiNodeWeightedSampler if the keys of source_nodes and weights are not the same"""
Expand Down

0 comments on commit 25062f2

Please sign in to comment.