Skip to content

Commit

Permalink
Disabling versioning test that enabled auto-versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
escowles committed Apr 10, 2014
1 parent 89258de commit 58865d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
Expand Up @@ -992,16 +992,6 @@ public String getMethod() {
**/
@Test
public void testUploadToProjection() throws IOException {
// make sure directory is writable
final File dir = new File("./target/test-classes/test-objects");
logger.debug("dir: " + dir.getAbsolutePath());
logger.debug(" e: " + dir.exists());
logger.debug(" d: " + dir.isDirectory());
logger.debug(" r: " + dir.canRead());
logger.debug(" w: " + dir.canWrite());
File tmp = File.createTempFile("test",null,dir);
logger.debug("tmp: " + tmp.getAbsolutePath());

// upload file to federated filesystem using rest api
final String pid = randomUUID().toString();
final String uploadLocation = serverAddress + "files/" + pid + "/ds1/fcr:content";
Expand Down
Expand Up @@ -29,6 +29,7 @@
import org.apache.http.client.methods.HttpPut;
import org.apache.http.entity.BasicHttpEntity;
import org.apache.http.util.EntityUtils;
import org.junit.Ignore;
import org.junit.Test;

import javax.ws.rs.core.Response;
Expand Down Expand Up @@ -258,6 +259,7 @@ public void testAddMixinAutoVersioning() throws IOException {
}

@Test
@Ignore
public void testRepositoryWideAutoVersioning() throws IOException {
postNodeTypeCNDSnippet("[fedora:autoVersioned] mixin\n" +
" - fedoraconfig:versioningPolicy (STRING) = \"auto-version\" autocreated");
Expand Down

0 comments on commit 58865d9

Please sign in to comment.