From ffadb798e9e052334358b13132a73d43472998ac Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Wed, 25 Oct 2023 12:53:35 +0200 Subject: [PATCH] Disable multi-tenant test as Hibernate broke the by-id functionality. See #669 --- .../jpa/hibernatemultitenant/partition/ApplicationTests.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jpa/multitenant/partition/src/test/java/example/springdata/jpa/hibernatemultitenant/partition/ApplicationTests.java b/jpa/multitenant/partition/src/test/java/example/springdata/jpa/hibernatemultitenant/partition/ApplicationTests.java index e953edf2b..0862bd81a 100644 --- a/jpa/multitenant/partition/src/test/java/example/springdata/jpa/hibernatemultitenant/partition/ApplicationTests.java +++ b/jpa/multitenant/partition/src/test/java/example/springdata/jpa/hibernatemultitenant/partition/ApplicationTests.java @@ -3,6 +3,7 @@ import static org.assertj.core.api.Assertions.*; import org.junit.jupiter.api.AfterEach; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; @@ -48,6 +49,7 @@ void saveAndLoadPerson() { } @Test + @Disabled("Find by Id no longer considers the current tenant") void findById() { final Person adam = createPerson(PIVOTAL, "Adam");