-
Notifications
You must be signed in to change notification settings - Fork 178
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
t/LocalDB/Index/Blast.t: create test tempfiles within a tempdir (issue …
…#281) There's other tests that create files with the same name on the current working directory with the same name. If running the test suite with jobs in parallel this causes failing tests, because multiple tests will be writing and reading to the same file at the same time. So use File::Temp to avoid clashes. Specific case here is that Bio::Index::Blast->new will not creat a new file, it will use an existing one if it's there. In this case, it was reading an Index file for anoter format which had a different version number. Take the chance to rewrite the test to avoid code duplication.
- Loading branch information
1 parent
c059b46
commit 926dbeb
Showing
1 changed file
with
64 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters