{"action":"opened","issue":{"url":"https://api.github.com/repos/broadinstitute/cromwell/issues/1311","repository_url":"https://api.github.com/repos/broadinstitute/cromwell","labels_url":"https://api.github.com/repos/broadinstitute/cromwell/issues/1311/labels{/name}","comments_url":"https://api.github.com/repos/broadinstitute/cromwell/issues/1311/comments","events_url":"https://api.github.com/repos/broadinstitute/cromwell/issues/1311/events","html_url":"https://github.com/broadinstitute/cromwell/issues/1311","id":172267424,"number":1311,"title":"Fix WorkflowExecutionActorSpec","user":{"login":"mcovarr","id":10790523,"avatar_url":"https://avatars.githubusercontent.com/u/10790523?v=3","gravatar_id":"","url":"https://api.github.com/users/mcovarr","html_url":"https://github.com/mcovarr","followers_url":"https://api.github.com/users/mcovarr/followers","following_url":"https://api.github.com/users/mcovarr/following{/other_user}","gists_url":"https://api.github.com/users/mcovarr/gists{/gist_id}","starred_url":"https://api.github.com/users/mcovarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcovarr/subscriptions","organizations_url":"https://api.github.com/users/mcovarr/orgs","repos_url":"https://api.github.com/users/mcovarr/repos","events_url":"https://api.github.com/users/mcovarr/events{/privacy}","received_events_url":"https://api.github.com/users/mcovarr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-20T11:47:34Z","updated_at":"2016-08-20T11:47:34Z","closed_at":null,"body":"This test appears to not deal with eventual consistency correctly and sporadically fails for what looks like bogus reasons:\r\n\r\n```\r\n[info] WorkflowExecutionActorSpec:\r\n[info] WorkflowExecutionActor\r\n[info] - should retry a job 2 times and succeed in the third attempt *** FAILED ***\r\n[info]   cromwell.core.package$CromwellFatalException: org.scalatest.exceptions.TestFailedException: \"Running\" was not equal to \"Preempted\"\r\n[info]   at cromwell.core.retry.Retry$$anonfun$withRetry$3.applyOrElse(Retry.scala:44)\r\n[info]   at cromwell.core.retry.Retry$$anonfun$withRetry$3.applyOrElse(Retry.scala:43)\r\n[info]   at scala.concurrent.Future$$anonfun$recoverWith$1.apply(Future.scala:344)\r\n[info]   at scala.concurrent.Future$$anonfun$recoverWith$1.apply(Future.scala:343)\r\n[info]   at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32)\r\n[info]   at akka.dispatch.BatchingExecutor$AbstractBatch.processBatch(BatchingExecutor.scala:55)\r\n[info]   at akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply$mcV$sp(BatchingExecutor.scala:91)\r\n[info]   at akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply(BatchingExecutor.scala:91)\r\n[info]   at akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply(BatchingExecutor.scala:91)\r\n[info]   at scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:72)\r\n[info]   ...\r\n```"}}
{"actor":{"display_login":"mcovarr"}}