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-12848: ap_verify unit tests fail on lsst-dev #17

Merged
merged 2 commits into from Jan 18, 2018
Merged

Conversation

kfindeisen
Copy link
Member

This PR rewrites the unit tests for lsst.ap.verify.measurements.profiling to use a real task execution rather than a dummy one. This gives a running time greater than 0.01 seconds, fixing DM-12848. I also add a missing dependency on ip_isr to the package.

In a separate commit, I switch the ups/*.cfg and ups/*.table files from Windows to Unix line endings. I have no idea where those came from.

Copy link
Contributor

@morriscb morriscb left a comment

Choose a reason for hiding this comment

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

From what I can see you create a simple dataset for defringing and put that through your timing unittest instead of the dummy ISR. If that's the case things seems clear enough. One suggestion would be to add a line or two of comments in the test setup to to explain the nature of the data your making ie "Create an exposure with some fringe frequency".

config = lsst.sconsUtils.Configuration(
__file__,
hasDoxygenInclude=False,
hasSwigFiles=False,
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't see anything that changed here. Is this just something weird the commit history?

Copy link
Member Author

Choose a reason for hiding this comment

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

That's the "Fix Windows line endings" commit.

@kfindeisen
Copy link
Member Author

Thanks, I'll add some comments.

Dummy task runs are too fast to give good results, but IsrTask is too
complex to run on the fly. I've replaced it with FringeTask, which
can be run with only minimal setup.
@kfindeisen kfindeisen merged commit 8b6d490 into master Jan 18, 2018
@kfindeisen kfindeisen deleted the tickets/DM-12848 branch November 30, 2018 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants