mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-24 17:51:51 +02:00
Merge pull request #12882 from overleaf/em-git-bridge-swap-job-config
Disable swap job when swap store is unsafe GitOrigin-RevId: 104b03e378e7802f9ba6ff96b5a626a2fa7960fb
This commit is contained in:
@@ -21,6 +21,7 @@ import org.asynchttpclient.*;
|
||||
import org.eclipse.jgit.api.errors.GitAPIException;
|
||||
import org.junit.After;
|
||||
import org.junit.Before;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Rule;
|
||||
import org.junit.Test;
|
||||
import org.junit.rules.TemporaryFolder;
|
||||
@@ -657,6 +658,11 @@ public class WLGitBridgeIntegrationTest {
|
||||
|
||||
}
|
||||
|
||||
// We skip this test because it now hangs. It relies on the in-memory swap
|
||||
// job, but we disable the swap job when the noop or in-memory swap store
|
||||
// are configured. We do that for safety. Such a configuration in a
|
||||
// production environment would lead to data loss.
|
||||
@Ignore
|
||||
@Test
|
||||
public void wlgbCanSwapProjects(
|
||||
) throws IOException, GitAPIException, InterruptedException {
|
||||
|
||||
Reference in New Issue
Block a user