From 4e1cc8c91b0b0f03c28ad1a38d98689fab467e83 Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Mon, 10 Sep 2012 17:25:45 -0400 Subject: [PATCH] Redirect to summary page from empty page for a repo with commits (issue 129) --- tests/com/gitblit/tests/GitBlitSuite.java | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/com/gitblit/tests/GitBlitSuite.java b/tests/com/gitblit/tests/GitBlitSuite.java index 0cb63ec..07c5e08 100644 --- a/tests/com/gitblit/tests/GitBlitSuite.java +++ b/tests/com/gitblit/tests/GitBlitSuite.java @@ -101,6 +101,9 @@ // already started return false; } + + GitServletTest.deleteWorkingFolders(); + // Start a Gitblit instance Executors.newSingleThreadExecutor().execute(new Runnable() { public void run() { @@ -123,7 +126,7 @@ GitBlitServer.main("--stop", "--shutdownPort", "" + shutdownPort); // Wait a few seconds for it to be running - Thread.sleep(2500); + Thread.sleep(5000); } @BeforeClass @@ -132,7 +135,7 @@ if (REPOSITORIES.exists() || REPOSITORIES.mkdirs()) { cloneOrFetch("helloworld.git", "https://github.com/git/hello-world.git"); - cloneOrFetch("ticgit.git", "https://github.com/jeffWelling/ticgit.git"); + cloneOrFetch("ticgit.git", "https://github.com/schacon/ticgit.git"); cloneOrFetch("test/jgit.git", "https://github.com/eclipse/jgit.git"); cloneOrFetch("test/helloworld.git", "https://github.com/git/hello-world.git"); cloneOrFetch("test/ambition.git", "https://github.com/defunkt/ambition.git"); -- Gitblit v1.9.1