diff --git a/plugins/testng_rt/src/org/testng/IDEATestNGRemoteListener.java b/plugins/testng_rt/src/org/testng/IDEATestNGRemoteListener.java index ca51865a8168..85cd64a2360b 100644 --- a/plugins/testng_rt/src/org/testng/IDEATestNGRemoteListener.java +++ b/plugins/testng_rt/src/org/testng/IDEATestNGRemoteListener.java @@ -66,7 +66,7 @@ public class IDEATestNGRemoteListener implements ISuiteListener, IResultListener } public synchronized void onTestSkipped(ITestResult result) { - onTestFinished(getMethodName(result)); + myPrintStream.println("\n##teamcity[testIgnored name=\'" + escapeName(getMethodName(result)) + "\']"); } public synchronized void onTestFailedButWithinSuccessPercentage(ITestResult result) {}