Different agents consistently cause different number of JUnit test errors

So I am running a particular configuration within TeamCity that is used for JUnit testing, and it always fails. The strange thing is that depending on which agent I use, the number of errors changes, i.e. 1 error on agent 1, 6 errors on agent 2, 50 errors on agent 3, and so on. Not sure where to look for the inconsistency here, or what could be causing it. Any suggestions? FYI I am very new to TeamCity, and still learning how it works.

Much appreciated

3 comments
Comment actions Permalink

Have you tried to run your build without TeamCity on these agents? Usually in cases like that tests need to be fixed to work correctly on different environments.

0
Comment actions Permalink

I have not. I will try that and see if I am getting the same results. Some more information that may be helpful ... The JUnits that are failing, are not failing when executed within the development environment. Just out of curioustiy and for the purpose of understanding the troubleshooting process with this software, what excatly would running the build from command line on the actual agent as opposed to running it via TeamCity show (i.e. if the build fails, doesn't fail. or fails with a different number of failed tests)??

Again, your response is much appreciated!

0

Please sign in to leave a comment.