Skip to content

Commit

Permalink
made test sequential and less likely to error out
Browse files Browse the repository at this point in the history
  • Loading branch information
nathandunn committed Apr 28, 2021
1 parent dd5afca commit 1b6bca5
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,10 @@ class OrganismController {
organism.addMetaData("creator", userId)
File directory = trackService.getExtendedDataDirectory(organism)

if (directory.mkdirs() && directory.setWritable(true)) {
boolean madeDirectory = directory.mkdirs()
boolean writeable = directory.setWritable(true)

if (madeDirectory && writeable) {

if (organismDataFile) {
log.debug "Successfully created directory ${directory.absolutePath}"
Expand Down

0 comments on commit 1b6bca5

Please sign in to comment.