Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Datasets] Remove the assertion for ds.stats() in test_dataset_image.py #33171

Merged
merged 2 commits into from
Mar 9, 2023

Conversation

c21
Copy link
Contributor

@c21 c21 commented Mar 9, 2023

Why are these changes needed?

The test is very flaky and it's because the async nature from StatsActor for ds.stats() call (some discssuion in the past). We can remove the assertion here because the assertion of ds.num_blocks() is enough, and we have separate test file stats - test_stats.py.

Screen Shot 2023-03-09 at 11 12 29 AM

Related issue number

Checks

  • I've signed off every commit(by using the -s flag, i.e., git commit -s) in this PR.
  • I've run scripts/format.sh to lint the changes in this PR.
  • I've included any doc changes needed for https://docs.ray.io/en/master/.
  • I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/
  • Testing Strategy
    • Unit tests
    • Release tests
    • This PR is not tested :(

Signed-off-by: Cheng Su <[email protected]>
@c21 c21 added the tests-ok The tagger certifies test failures are unrelated and assumes personal liability. label Mar 9, 2023
@clarkzinzow clarkzinzow merged commit 99ff678 into ray-project:master Mar 9, 2023
@c21 c21 deleted the fix-stats branch March 9, 2023 22:23
ProjectsByJackHe pushed a commit to ProjectsByJackHe/ray that referenced this pull request Mar 21, 2023
…py (ray-project#33171)

The test is very flaky and it's because the async nature from StatsActor for ds.stats() call (some discssuion in the past). We can remove the assertion here because the assertion of ds.num_blocks() is enough, and we have separate test file stats - test_stats.py.

Signed-off-by: Cheng Su <[email protected]>
Signed-off-by: Jack He <[email protected]>
cadedaniel pushed a commit to cadedaniel/ray that referenced this pull request Mar 22, 2023
…py (ray-project#33171)

The test is very flaky and it's because the async nature from StatsActor for ds.stats() call (some discssuion in the past). We can remove the assertion here because the assertion of ds.num_blocks() is enough, and we have separate test file stats - test_stats.py.

Signed-off-by: Cheng Su <[email protected]>
edoakes pushed a commit to edoakes/ray that referenced this pull request Mar 22, 2023
…py (ray-project#33171)

The test is very flaky and it's because the async nature from StatsActor for ds.stats() call (some discssuion in the past). We can remove the assertion here because the assertion of ds.num_blocks() is enough, and we have separate test file stats - test_stats.py.

Signed-off-by: Cheng Su <[email protected]>
Signed-off-by: Edward Oakes <[email protected]>
peytondmurray pushed a commit to peytondmurray/ray that referenced this pull request Mar 22, 2023
…py (ray-project#33171)

The test is very flaky and it's because the async nature from StatsActor for ds.stats() call (some discssuion in the past). We can remove the assertion here because the assertion of ds.num_blocks() is enough, and we have separate test file stats - test_stats.py.

Signed-off-by: Cheng Su <[email protected]>
scottsun94 pushed a commit to scottsun94/ray that referenced this pull request Mar 28, 2023
…py (ray-project#33171)

The test is very flaky and it's because the async nature from StatsActor for ds.stats() call (some discssuion in the past). We can remove the assertion here because the assertion of ds.num_blocks() is enough, and we have separate test file stats - test_stats.py.

Signed-off-by: Cheng Su <[email protected]>
cassidylaidlaw pushed a commit to cassidylaidlaw/ray that referenced this pull request Mar 28, 2023
…py (ray-project#33171)

The test is very flaky and it's because the async nature from StatsActor for ds.stats() call (some discssuion in the past). We can remove the assertion here because the assertion of ds.num_blocks() is enough, and we have separate test file stats - test_stats.py.

Signed-off-by: Cheng Su <[email protected]>
elliottower pushed a commit to elliottower/ray that referenced this pull request Apr 22, 2023
…py (ray-project#33171)

The test is very flaky and it's because the async nature from StatsActor for ds.stats() call (some discssuion in the past). We can remove the assertion here because the assertion of ds.num_blocks() is enough, and we have separate test file stats - test_stats.py.

Signed-off-by: Cheng Su <[email protected]>
Signed-off-by: elliottower <[email protected]>
ProjectsByJackHe pushed a commit to ProjectsByJackHe/ray that referenced this pull request May 4, 2023
…py (ray-project#33171)

The test is very flaky and it's because the async nature from StatsActor for ds.stats() call (some discssuion in the past). We can remove the assertion here because the assertion of ds.num_blocks() is enough, and we have separate test file stats - test_stats.py.

Signed-off-by: Cheng Su <[email protected]>
Signed-off-by: Jack He <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests-ok The tagger certifies test failures are unrelated and assumes personal liability.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants