package com.seleniumtests.webtests;

import com.seleniumtests.controller.TestPlan;
import org.testng.annotations.Test;

import java.util.GregorianCalendar;

public class RetryTest2 extends TestPlan {
	
	@Test(groups="retryTest2")
	public void retryFailedTest() {
		assert 1==2:"bound to fail";
	}
}

package com.seleniumtests.webtests;

import com.seleniumtests.controller.TestPlan;
import org.testng.annotations.Test;

import java.util.GregorianCalendar;

public class RetryTest2 extends TestPlan {
	
	@Test(groups="retryTest2")
	public void retryFailedTest() {
		assert 1==1:"always pass";
	}
}

change test condition