-
Notifications
You must be signed in to change notification settings - Fork 998
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
Append nanoseconds to dataset name in test_historical_retrival to prevent tests stomping over each other #1593
Append nanoseconds to dataset name in test_historical_retrival to prevent tests stomping over each other #1593
Conversation
…ival to prevent tests stomping over each other Signed-off-by: Achal Shah <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #1593 +/- ##
==========================================
- Coverage 83.60% 77.38% -6.23%
==========================================
Files 65 64 -1
Lines 5758 5633 -125
==========================================
- Hits 4814 4359 -455
- Misses 944 1274 +330
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Signed-off-by: Achal Shah <[email protected]>
Signed-off-by: Achal Shah <[email protected]>
Signed-off-by: Achal Shah <[email protected]>
Signed-off-by: Achal Shah <[email protected]>
Signed-off-by: Achal Shah <[email protected]>
926d314
to
afe0a38
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: achals, woop The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
…vent tests stomping over each other (#1593) * Append the python version to the dataset name in test_historical_retrival to prevent tests stomping over each other Signed-off-by: Achal Shah <[email protected]> * make format Signed-off-by: Achal Shah <[email protected]> * use version_info to avoid mucking wiht strings Signed-off-by: Achal Shah <[email protected]> * time_ns followed by randint Signed-off-by: Achal Shah <[email protected]> * fix lint Signed-off-by: Achal Shah <[email protected]> * Use 1000-9999 for fixed width Signed-off-by: Achal Shah <[email protected]>
Signed-off-by: Achal Shah [email protected]
What this PR does / why we need it:
Becuase of the way we construct same dataset name in test_historical_retrival, when running a matrix test there's the possiblity of two different tests constructing the same dataset name, and hence stomping over each other.
This PR adds the python version to the name of the dataset - this should be sufficient since the test matrix tests different python versions. An alternative would be to use the github action run id, but that ties the test a little bit closer to github than seems necessary.
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?: