Permalink
Browse files

Wrap the webapptest jetty.stop calls to prevent irrelevant build errors

  • Loading branch information...
dchenbecker committed Mar 2, 2011
1 parent 37b1ba3 commit 85ce62cedde1f46c07cdee0d58b59937c833c39e
@@ -168,6 +168,11 @@ object OneShot extends Specification with RequestKit {
}
}
- doAfterSpec(jetty.stop())
+ doAfterSpec {
+ tryo {
+ jetty.stop()
+ }
+ }
+
}
@@ -24,7 +24,7 @@ import org.specs.Specification
import common.Full
import util._
import http._
-
+import Helpers.tryo
/**
* System under specification for ToHeadUsages.
@@ -189,6 +189,10 @@ object ToHeadUsages extends Specification("ToHeadUsages Specification") {
}
}
- doAfterSpec(jetty.stop())
+ doAfterSpec {
+ tryo {
+ jetty.stop()
+ }
+ }
}

0 comments on commit 85ce62c

Please sign in to comment.