diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/git/autocommit/helpers/AutoCommitEligibilityHelperImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/git/autocommit/helpers/AutoCommitEligibilityHelperImpl.java index d9d6d36462b..239e9c430c4 100644 --- a/app/server/appsmith-server/src/main/java/com/appsmith/server/git/autocommit/helpers/AutoCommitEligibilityHelperImpl.java +++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/git/autocommit/helpers/AutoCommitEligibilityHelperImpl.java @@ -91,6 +91,7 @@ public Mono isClientMigrationRequired(PageDTO pageDTO) { } @Override + @FeatureFlagged(featureFlagName = FeatureFlagEnum.release_git_autocommit_feature_enabled) public Mono isAutoCommitRequired( String workspaceId, GitArtifactMetadata gitArtifactMetadata, PageDTO pageDTO) { diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/git/autocommit/ApplicationPageServiceAutoCommitTest.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/git/autocommit/ApplicationPageServiceAutoCommitTest.java index 88652ece3d0..1cffde452b3 100644 --- a/app/server/appsmith-server/src/test/java/com/appsmith/server/git/autocommit/ApplicationPageServiceAutoCommitTest.java +++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/git/autocommit/ApplicationPageServiceAutoCommitTest.java @@ -34,6 +34,7 @@ import org.eclipse.jgit.lib.BranchTrackingStatus; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.Mockito; @@ -229,6 +230,7 @@ public void afterTest() { } @Test + @Disabled public void testAutoCommit_whenOnlyServerIsEligibleForMigration_commitSuccess() throws URISyntaxException, IOException, GitAPIException { @@ -282,6 +284,7 @@ public void testAutoCommit_whenOnlyServerIsEligibleForMigration_commitSuccess() } @Test + @Disabled public void testAutoCommit_whenOnlyClientIsEligibleForMigration_commitSuccess() throws GitAPIException, IOException, URISyntaxException { ApplicationJson applicationJson = @@ -344,6 +347,7 @@ public void testAutoCommit_whenOnlyClientIsEligibleForMigration_commitSuccess() } @Test + @Disabled public void testAutoCommit_whenAutoCommitNotEligible_returnsFalse() throws URISyntaxException, IOException, GitAPIException {