Skip to content

Commit

Permalink
Enable better subwf test (#961)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmthibault79 committed Jul 13, 2018
1 parent 2a084e9 commit 1f1ea19
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ class RawlsApiSpec extends TestKit(ActorSystem("MySpec")) with FreeSpecLike with
"should retrieve metadata with widely scattered sub-workflows in a short time" in {
implicit val token: AuthToken = studentAToken

val scatterWidth = 300
val scatterWidth = 500

// this will run scatterCount^levels workflows, so be careful if increasing these values!
val topLevelMethod: Method = methodTree(levels = 2, scatterCount = scatterWidth)
Expand Down Expand Up @@ -285,9 +285,7 @@ class RawlsApiSpec extends TestKit(ActorSystem("MySpec")) with FreeSpecLike with

// can we also quickly retrieve metadata for a few of the subworkflows?

// NOT YET. Known issue in this iteration of firecloud-app#97
// TODO: uncomment when the real solution is in place
//Random.shuffle(subworkflowIds.take(4)).foreach { cromwellMetadata(_) }
Random.shuffle(subworkflowIds.take(10)).foreach { cromwellMetadata(_) }

// clean up: Abort and wait for one minute or Aborted, whichever comes first
// Timeout is OK here: just make a best effort
Expand Down

0 comments on commit 1f1ea19

Please sign in to comment.