Running tests suites conccurently in Teamcity
Hi,
I'm trying to execute test suite concurrently in Teamcity. But the nested test logs are all mixed up. I'm aware of that question about concurrent test.
I'm using BuildProgressLogger.getFlowLogger(xxx)) to set a different logger to each suite which run on a separate thread.
-- logger.message("Started")
---- new thread => flowLogger = logger.getFlowLogger(uniqueId)
---- flowLogger.logSuiteStarted(uniqueName)
---- flowLogger.logTestStarted(testName)
---- flowLogger.logTestFinished(testName)
---- flowLogger.logTestStarted(testName)
---- flowLogger.logTestFinished(testName)
---- flowLogger.logSuiteFinished(uniqueName)
-- logger.message("End")
What is the correct usage of getFlowLogger ? Has it anything to do with the behaviour change introduced with TC 9.1 about nested tests reporting ?
Regards,
Bertrand
Please sign in to leave a comment.
Hello Bertrand,
Unfortunately, there is no yet support for showing parallel tests in build log on per-thread basis. Also, your usage of FlowLogger looks correct (it affects test counters and statuses).
Please vote/comment on https://youtrack.jetbrains.com/issue/TW-8249
Kind regards,
Hi Kirill,
Sorry to hear that. I've already voted for that issue and released the first beta of the plugin I was developping despite this issue. It is now listed in your plugin list (Runscope plugin) :)
Regards,
Bertrand
Sorry to say that. So many things in our tracker, priorities are complex.
And thanks for writing the plugin :)