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

DM-45791: Put ingest reference time back in the correct place in test #1069

Merged
merged 1 commit into from
Sep 4, 2024

Conversation

timj
Copy link
Member

@timj timj commented Sep 4, 2024

Commit 4dbfaa9 moved the reference time calculation to after the ingest.

Checklist

  • ran Jenkins
  • added a release note for user-visible changes to doc/changes
  • (if changing dimensions.yaml) make a copy of dimensions.yaml in configs/old_dimensions

Commit 4dbfaa9 moved the reference time calculation to after
the ingest.
@timj timj requested a review from andy-slac September 4, 2024 15:52
dt0 = datetime.datetime.now(datetime.UTC)
self.load_data(butler, "base.yaml", "datasets.yaml")
Copy link
Member Author

Choose a reason for hiding this comment

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

I could split the load_data up into two calls but I'm not sure it makes a difference for this test.

Copy link
Contributor

Choose a reason for hiding this comment

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

I think it's OK for this test to have dt0 before loading everuthing.

Copy link

codecov bot commented Sep 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.54%. Comparing base (3ea58f3) to head (0151bd6).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1069   +/-   ##
=======================================
  Coverage   89.54%   89.54%           
=======================================
  Files         359      359           
  Lines       46509    46509           
  Branches     9566     9566           
=======================================
  Hits        41648    41648           
  Misses       3511     3511           
  Partials     1350     1350           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@andy-slac andy-slac left a comment

Choose a reason for hiding this comment

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

Looks great.

dt0 = datetime.datetime.now(datetime.UTC)
self.load_data(butler, "base.yaml", "datasets.yaml")
Copy link
Contributor

Choose a reason for hiding this comment

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

I think it's OK for this test to have dt0 before loading everuthing.

@timj timj merged commit 50c0a9e into main Sep 4, 2024
18 checks passed
@timj timj deleted the tickets/DM-45791-hotfix branch September 4, 2024 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants