Skip to content

Commit

Permalink
Fix tiling flaky test (#3982)
Browse files Browse the repository at this point in the history
fix tiling flaky test
  • Loading branch information
eugene123tw authored Sep 27, 2024
1 parent 28f6529 commit b56ced7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/core/data/test_tiling.py
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ def test_seg_tile_merge(self, fxt_data_config):
def test_seg_tiler(self, mocker):
rng = np.random.default_rng()
rnd_tile_size = rng.integers(low=100, high=500)
rnd_tile_overlap = rng.random()
rnd_tile_overlap = min(rng.random(), 0.99)
image_size = rng.integers(low=1000, high=5000)
np_image = np.zeros((image_size, image_size, 3), dtype=np.uint8)

Expand Down

0 comments on commit b56ced7

Please sign in to comment.