Skip to content

Commit

Permalink
[#1532] Disable UTCTest for Oracle
Browse files Browse the repository at this point in the history
  • Loading branch information
blafond committed Apr 4, 2023
1 parent bbb2df4 commit 23ec6eb
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,26 @@

import org.hibernate.cfg.AvailableSettings;
import org.hibernate.cfg.Configuration;
import org.hibernate.reactive.testing.DatabaseSelectionRule;

import org.junit.Rule;
import org.junit.Test;

import io.vertx.ext.unit.TestContext;

import static org.hibernate.reactive.containers.DatabaseConfiguration.DBType.ORACLE;

import static org.hibernate.reactive.util.impl.CompletionStages.loop;

public class UTCTest extends BaseReactiveTest {

// testDate(), testCalendar(), testLocalDateTime() & testZonedDateTime() fail with....
//
// throws jakarta.persistence.NoResultException: No result found for query [from ThingInUTC where date=:dt]
// at app//org.hibernate.reactive.query.spi.ReactiveAbstractSelectionQuery.reactiveSingleResult(ReactiveAbstractSelectionQuery.java:175)
@Rule
public final DatabaseSelectionRule skip = DatabaseSelectionRule.skipTestsFor( ORACLE );

@Override
public CompletionStage<Void> deleteEntities(Class<?>... entities) {
return getSessionFactory()
Expand Down

0 comments on commit 23ec6eb

Please sign in to comment.