Skip to content

Commit

Permalink
HSEARCH-3767 Skip newly introduced date/calendar bridge tests for Pos…
Browse files Browse the repository at this point in the history
…tgreSQL
  • Loading branch information
yrodiere committed Nov 19, 2019
1 parent bdaf465 commit 29bc59e
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

import org.hibernate.HibernateException;
import org.hibernate.Transaction;
import org.hibernate.dialect.PostgreSQL81Dialect;
import org.hibernate.search.FullTextQuery;
import org.hibernate.search.FullTextSession;
import org.hibernate.search.Search;
Expand Down Expand Up @@ -52,6 +53,8 @@
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;

import org.hibernate.testing.SkipForDialect;

/**
* @author Emmanuel Bernard
*/
Expand Down Expand Up @@ -365,6 +368,8 @@ public void testCalendarBridge() throws Exception {

@Test
@TestForIssue(jiraKey = "HSEARCH-3767")
@SkipForDialect(value = PostgreSQL81Dialect.class,
comment = "For some reason we try to store the null character in a string and PostgreSQL doesn't like that.")
public void testDateBridgeNullProjections() {
Cloud nullCloud = new Cloud();

Expand Down Expand Up @@ -401,6 +406,8 @@ public void testDateBridgeNullProjections() {

@Test
@TestForIssue(jiraKey = "HSEARCH-3767")
@SkipForDialect(value = PostgreSQL81Dialect.class,
comment = "For some reason we try to store the null character in a string and PostgreSQL doesn't like that.")
public void testCalendarBridgeNullProjections() {
Cloud nullCloud = new Cloud();

Expand Down

0 comments on commit 29bc59e

Please sign in to comment.