package test.listeners.github551;

import java.io.IOException;

import org.testng.Assert;
import org.testng.TestNG;
import org.testng.annotations.Test;

import test.SimpleBaseTest;

public class Test551 extends SimpleBaseTest {

    @Test
    public void testExecutionTimeOfFailedConfig() throws IOException {
        ConfigListener listener = new ConfigListener();

        TestNG testNG = create(TestWithFailingConfig.class);
        testNG.addListener(listener);
        testNG.run();
        System.out.println(listener.executionTime);
        Assert.assertTrue(listener.executionTime >= TestWithFailingConfig.EXEC_TIME);
    }
}

@@ -485,60 +485,8 @@
 ();%0A
-        System.out.println(listener.executionTime);%0A
     

Remove System.out