I'm using Teamcity 5.0 build 10181.
I have Maven 2 build configuration which run following goals: clean integration-test emma:emma. During project building some tests executes 2 times, but all Surefire reports in target/surefire-reports directory are correct.
But on Projects page after build configuration Run Teamcity shows 2-3 times more tests than actually exists in surefire-reports. Tests page contains 2-3 copies of the same test, sometimes with different Durations.
I've tried to adjust XML Report Processing section of Maven 2 build configuration page by choosing:
Import data from: Surefire
Report paths: target/surefire-reports/*.xml
but nothing changed.
How fix this?