Skip to content

Commit

Permalink
OAK-6729 - PojoSR: RepositoryFactory tests should have timeouts
Browse files Browse the repository at this point in the history
Timeouts should be in seconds, not milliseconds (oops).

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1809840 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
rombert committed Sep 27, 2017
1 parent 9993eff commit 519b681
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public void setUp() throws IOException {
copyConfig("common");
}

@Test(timeout = 60)
@Test(timeout = 60 * 1000)
public void testRepositoryTar() throws Exception {
copyConfig("tar");
config.put(BundleActivator.class.getName(), new TestActivator());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public class SimpleRepositoryFactoryTest {
@Rule
public final TemporaryFolder tmpFolder = new TemporaryFolder(new File("target"));

@Test(timeout = 60)
@Test(timeout = 60 * 1000)
public void testRepositoryService() throws Exception{
Map<String,String> config = new HashMap<String, String>();
config.put("org.apache.jackrabbit.repository.home",
Expand Down

0 comments on commit 519b681

Please sign in to comment.