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

test: Remove flakiness of KillRun test #9370

Merged
merged 3 commits into from
May 15, 2024
Merged

Conversation

AmanuelAaron
Copy link
Contributor

Ticket

DET-10294

Description

Fix the flakiness of the kill run test by creating a new fixture that generates 4 runs with a deterministic hyperparameter and filter on that hyperparameter in the test. Addtionally we want to ensure that the experiment runs for long enough for the trials to be killed

Test Plan

e2e test should pass after multiple runs
4 runs with a distinct "unique_id" hyperparameter of 1, 2, 3 & 4

Checklist

  • Changes have been manually QA'd
  • User-facing API changes need the "User-facing API Change" label.
  • Release notes should be added as a separate file under docs/release-notes/.
    See Release Note for details.
  • Licenses should be included for new code which was copied and/or modified from any external code.

@AmanuelAaron AmanuelAaron requested a review from hamidzr May 15, 2024 15:08
@cla-bot cla-bot bot added the cla-signed label May 15, 2024
Copy link

netlify bot commented May 15, 2024

Deploy Preview for determined-ui ready!

Name Link
🔨 Latest commit 7f5d132
🔍 Latest deploy log https://app.netlify.com/sites/determined-ui/deploys/66450a5117a843000827bc40
😎 Deploy Preview https://deploy-preview-9370--determined-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

codecov bot commented May 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 45.29%. Comparing base (3b1d0df) to head (7f5d132).
Report is 6 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #9370   +/-   ##
=======================================
  Coverage   45.28%   45.29%           
=======================================
  Files        1227     1227           
  Lines      154048   154048           
  Branches     2404     2404           
=======================================
+ Hits        69767    69772    +5     
+ Misses      84089    84084    -5     
  Partials      192      192           
Flag Coverage Δ
backend 41.76% <ø> (+<0.01%) ⬆️
harness 64.07% <ø> (ø)
web 36.33% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

see 4 files with indirect coverage changes

@AmanuelAaron AmanuelAaron marked this pull request as ready for review May 15, 2024 15:18
@AmanuelAaron AmanuelAaron requested a review from stoksc May 15, 2024 18:11
Copy link
Contributor

@stoksc stoksc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm modulo single comment

e2e_tests/tests/fixtures/no_op/grid-long-run.yaml Outdated Show resolved Hide resolved
@AmanuelAaron AmanuelAaron merged commit c10ae99 into main May 15, 2024
83 of 96 checks passed
@AmanuelAaron AmanuelAaron deleted the aaron/kill-test-flake branch May 15, 2024 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants