Skip to content

Commit fd9a996

Browse files
Exclude tests from running against cluster.
Those tests are using the template outside a transaction, so the bookmarks are not kept in sync. We exclude them from running against a cluster until we have some time to improve the test itself.
1 parent 408f2d0 commit fd9a996

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

src/test/java/org/springframework/data/neo4j/integration/properties/PropertyIT.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
import java.util.Optional;
2424

2525
import org.junit.jupiter.api.BeforeAll;
26+
import org.junit.jupiter.api.Tag;
2627
import org.junit.jupiter.api.Test;
2728
import org.neo4j.driver.Driver;
2829
import org.neo4j.driver.Session;
@@ -45,6 +46,9 @@
4546
* @soundtrack Metallica - Metallica
4647
*/
4748
@Neo4jIntegrationTest
49+
// Not actually incompatible, but not worth the effort adding additional complexity for handling bookmarks
50+
// between fixture and test
51+
@Tag(Neo4jExtension.INCOMPATIBLE_WITH_CLUSTERS)
4852
class PropertyIT {
4953

5054
protected static Neo4jExtension.Neo4jConnectionSupport neo4jConnectionSupport;

src/test/java/org/springframework/data/neo4j/integration/properties/ReactivePropertyIT.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
import static org.assertj.core.api.Assertions.assertThat;
1919

20+
import org.junit.jupiter.api.Tag;
2021
import org.springframework.data.neo4j.core.ReactiveDatabaseSelectionProvider;
2122
import org.springframework.data.neo4j.core.transaction.Neo4jBookmarkManager;
2223
import org.springframework.data.neo4j.core.transaction.ReactiveNeo4jTransactionManager;
@@ -48,6 +49,9 @@
4849
* @soundtrack Metallica - Metallica
4950
*/
5051
@Neo4jIntegrationTest
52+
// Not actually incompatible, but not worth the effort adding additional complexity for handling bookmarks
53+
// between fixture and test
54+
@Tag(Neo4jExtension.INCOMPATIBLE_WITH_CLUSTERS)
5155
class ReactivePropertyIT {
5256

5357
protected static Neo4jExtension.Neo4jConnectionSupport neo4jConnectionSupport;

0 commit comments

Comments
 (0)