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

BUG: Fix duplicate test output filename #64

Conversation

jhlegarreta
Copy link
Member

Fix duplicate test output filename: tests
IOOMEZarrNGFF_readTimeIndex0 and IOOMEZarrNGFF_readTimeIndex1 were using the same outputfilenames, and some CI builds were failing probably because they were trying to read/write to the same location.

Fixes:

Exception detected while reading
ITKIOOMEZarrNGFF/build/ExternalData/test/Baseline/simple_tyx_t0.mha :
  Could not create IO object for reading file
ITKIOOMEZarrNGFF/build/Testing/Temporary/IOOMEZarrNGFF/simple_tyx_t0.mha

raised for example at:
https://github.com/InsightSoftwareConsortium/ITKIOOMEZarrNGFF/actions/runs/9648607798/job/26615199448#step:15:223

Fix duplicate test output filename: tests
`IOOMEZarrNGFF_readTimeIndex0` and `IOOMEZarrNGFF_readTimeIndex1` were
using the same outputfilenames, and some CI builds were failing probably
because they were trying to read/write to the same location.

Fixes:
```
Exception detected while reading
ITKIOOMEZarrNGFF/build/ExternalData/test/Baseline/simple_tyx_t0.mha :
  Could not create IO object for reading file
ITKIOOMEZarrNGFF/build/Testing/Temporary/IOOMEZarrNGFF/simple_tyx_t0.mha
```

raised for example at:
https://github.com/InsightSoftwareConsortium/ITKIOOMEZarrNGFF/actions/runs/9648607798/job/26615199448#step:15:223
@thewtex
Copy link
Member

thewtex commented Jun 25, 2024

brilliant @jhlegarreta ! 🦅 👁️

@thewtex thewtex merged commit 6bb50d2 into InsightSoftwareConsortium:main Jun 25, 2024
18 checks passed
@jhlegarreta jhlegarreta deleted the FixDuplicateTestOutputfilename branch June 25, 2024 02:05
Copy link
Member

@dzenanz dzenanz left a comment

Choose a reason for hiding this comment

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

Good eye 🦅👁️

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.

3 participants