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 Fixes #3898

Merged
merged 5 commits into from
Jun 8, 2020
Merged

Test Fixes #3898

merged 5 commits into from
Jun 8, 2020

Conversation

Kelvinrr
Copy link
Collaborator

@Kelvinrr Kelvinrr commented Jun 5, 2020

Description

This should get the currently failing tests on Linux boxes passing again.

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Documentation change (update to the documentation; no code change)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have read and agree to abide by the Code of Conduct
  • I have read the CONTRIBUTING document.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Licensing

This project is mostly composed of free and unencumbered software released into the public domain, and we are unlikely to accept contributions that are not also released into the public domain. Somewhere near the top of each file should have these words:

This work is free and unencumbered software released into the public domain. In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain.

  • I dedicate any and all copyright interest in this software to the public domain. I make this dedication for the benefit of the public at large and to the detriment of my heirs and successors. I intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law.

@@ -34,7 +34,7 @@ for (lbl in labels) {
condaEnv("isis3") {
// Environment
loginShell """
conda install -c conda-forge python=3
conda install -c conda-forge python=3 findutils
Copy link
Collaborator Author

@Kelvinrr Kelvinrr Jun 5, 2020

Choose a reason for hiding this comment

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

temporary fix, PR into the docker repo incoming. Not sure how that process will go to get the new containers running (had flakiness from updating image:latest and not being pulled as k8s doesn't see it as a newer version of the container ) so I don't want to count on it too much at the moment.

@@ -46,7 +46,7 @@ Embree shape model status:
Model has intersection? true
Surface Point: ( 0.2908 , -0.0019 , 0.0005 )
Model has normal? true
Surface Normal: ( 0.847198 , -0.194495 , 0.494395 )
Surface Normal: ( 0.8471 , -0.1944 , 0.4943 )
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is this rounding a Mac vs Linux issue?

Copy link
Contributor

Choose a reason for hiding this comment

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

Sort of, Embree only does floating point precision calculations and we sometimes see very small differences based on OS.

Copy link
Contributor

@jessemapel jessemapel left a comment

Choose a reason for hiding this comment

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

Hopefully this makes the test less flaky

@krlberry krlberry merged commit a59e419 into DOI-USGS:dev Jun 8, 2020
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.

4 participants