Ignoring a Bad Flaky Test

This commit is contained in:
Ali Dehghani 2020-03-29 13:16:38 +04:30
parent f79cdee39a
commit 1bc12a57df
1 changed files with 2 additions and 0 deletions

View File

@ -8,6 +8,7 @@ import java.util.List;
import org.hibernate.Session; import org.hibernate.Session;
import org.hibernate.Transaction; import org.hibernate.Transaction;
import org.junit.Ignore;
import org.junit.Test; import org.junit.Test;
import com.baeldung.hibernate.criteria.model.Item; import com.baeldung.hibernate.criteria.model.Item;
@ -24,6 +25,7 @@ public class HibernateCriteriaIntegrationTest {
final private ApplicationView av = new ApplicationView(); final private ApplicationView av = new ApplicationView();
@Test @Test
@Ignore
public void testPerformanceOfCriteria() { public void testPerformanceOfCriteria() {
assertFalse(av.checkIfCriteriaTimeLower()); assertFalse(av.checkIfCriteriaTimeLower());
} }