New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When running a FeatureTest a lot of data is dumped to stdout and stderr #226
Comments
Have you tried setting "suppress=true" on each httpX method? On Monday, August 3, 2015, thomas-rc-hutchinson notifications@github.com
-Steve Sent from Gmail Mobile |
I tried this and some request response information was removed but the rest wasn't. Here is what I got. Removed when suppress=true
All entries when suppress is not set
Test override val server = new EmbeddedHttpServer(new WurflServer(Seq(WurflAPIThatReturnsFailureThatIsntHandled)))
"Server" should {
"ping" in {
server.httpGet(
path = "/v1/json",
headers = Map("User-Agent" -> "Mozil1_1 like Mac OS X; en) AppleWebKit/534.46.0 (KHTML, like Gecko) CriOS/19.0.1084.60 Mobile/9B206 Safari/7534.48.3"),
andExpect = InternalServerError)
}
} The information I would like to disable is the admin endpoints that are register and the stats at the bottom. |
When running a com.twitter.inject.server.FeatureTest a lot of data is dumped to stdout and stderr. I've looked at the code in com.twitter.inject.app.{EmbeddedApp, Banner} (sure there are other classes to) and there doesn't seem to be a way to disable it. This isn't major but it would be nice to reduce the noise when reviewing log statements when running tests.
The text was updated successfully, but these errors were encountered: