From a5e54dff9fdefb0bdce43664307b5d1226d29943 Mon Sep 17 00:00:00 2001 From: Marcin Lewandowski Date: Mon, 20 Nov 2023 09:18:24 +0100 Subject: [PATCH] skipping some tests for PR --- .../operations/configuration/ClientConfigurationTest.java | 2 ++ .../java/net/ravendb/client/test/ForceRevisionCreationTest.java | 2 ++ .../java/net/ravendb/client/test/issues/RavenDB_11770Test.java | 2 ++ .../client/test/linq/CanQueryAndIncludeRevisionsTest.java | 2 ++ 4 files changed, 8 insertions(+) diff --git a/src/test/java/net/ravendb/client/documents/operations/configuration/ClientConfigurationTest.java b/src/test/java/net/ravendb/client/documents/operations/configuration/ClientConfigurationTest.java index 39f4e4814..e5d55ccaf 100644 --- a/src/test/java/net/ravendb/client/documents/operations/configuration/ClientConfigurationTest.java +++ b/src/test/java/net/ravendb/client/documents/operations/configuration/ClientConfigurationTest.java @@ -4,12 +4,14 @@ import net.ravendb.client.documents.IDocumentStore; import net.ravendb.client.http.LoadBalanceBehavior; import net.ravendb.client.http.ReadBalanceBehavior; +import net.ravendb.client.infrastructure.DisabledOnPullRequest; import net.ravendb.client.serverwide.operations.configuration.GetServerWideClientConfigurationOperation; import net.ravendb.client.serverwide.operations.configuration.PutServerWideClientConfigurationOperation; import org.junit.jupiter.api.Test; import static org.assertj.core.api.Assertions.assertThat; +@DisabledOnPullRequest public class ClientConfigurationTest extends RemoteTestBase { @Test diff --git a/src/test/java/net/ravendb/client/test/ForceRevisionCreationTest.java b/src/test/java/net/ravendb/client/test/ForceRevisionCreationTest.java index 5e585354b..3fe406842 100644 --- a/src/test/java/net/ravendb/client/test/ForceRevisionCreationTest.java +++ b/src/test/java/net/ravendb/client/test/ForceRevisionCreationTest.java @@ -9,6 +9,7 @@ import net.ravendb.client.documents.session.IDocumentSession; import net.ravendb.client.documents.session.IMetadataDictionary; import net.ravendb.client.exceptions.RavenException; +import net.ravendb.client.infrastructure.DisabledOnPullRequest; import net.ravendb.client.infrastructure.entities.Company; import org.junit.jupiter.api.Test; @@ -17,6 +18,7 @@ import static org.assertj.core.api.Assertions.*; +@DisabledOnPullRequest public class ForceRevisionCreationTest extends RemoteTestBase { @Test diff --git a/src/test/java/net/ravendb/client/test/issues/RavenDB_11770Test.java b/src/test/java/net/ravendb/client/test/issues/RavenDB_11770Test.java index cb5bc085d..9a0204fbe 100644 --- a/src/test/java/net/ravendb/client/test/issues/RavenDB_11770Test.java +++ b/src/test/java/net/ravendb/client/test/issues/RavenDB_11770Test.java @@ -3,6 +3,7 @@ import net.ravendb.client.RemoteTestBase; import net.ravendb.client.documents.IDocumentStore; import net.ravendb.client.documents.session.IDocumentSession; +import net.ravendb.client.infrastructure.DisabledOnPullRequest; import net.ravendb.client.infrastructure.entities.Company; import org.junit.jupiter.api.Test; @@ -10,6 +11,7 @@ import static org.assertj.core.api.Assertions.assertThat; +@DisabledOnPullRequest public class RavenDB_11770Test extends RemoteTestBase { @Test diff --git a/src/test/java/net/ravendb/client/test/linq/CanQueryAndIncludeRevisionsTest.java b/src/test/java/net/ravendb/client/test/linq/CanQueryAndIncludeRevisionsTest.java index 0815ff565..f28639f2d 100644 --- a/src/test/java/net/ravendb/client/test/linq/CanQueryAndIncludeRevisionsTest.java +++ b/src/test/java/net/ravendb/client/test/linq/CanQueryAndIncludeRevisionsTest.java @@ -6,6 +6,7 @@ import net.ravendb.client.documents.indexes.AbstractIndexCreationTask; import net.ravendb.client.documents.session.IDocumentQuery; import net.ravendb.client.documents.session.IDocumentSession; +import net.ravendb.client.infrastructure.DisabledOnPullRequest; import net.ravendb.client.json.MetadataAsDictionary; import org.junit.jupiter.api.Test; @@ -13,6 +14,7 @@ import static org.assertj.core.api.Assertions.assertThat; +@DisabledOnPullRequest public class CanQueryAndIncludeRevisionsTest extends RemoteTestBase { @Test