diff options
author | Mike Edgar <adgar@google.com> | 2016-04-12 22:23:08 -0400 |
---|---|---|
committer | Mike Edgar <adgar@google.com> | 2016-04-14 20:41:53 -0400 |
commit | 4812fdab61c1ac61863247574be03425ba3bc674 (patch) | |
tree | 2b1ab5157935407b0a6ed3c4b4317a39b80cbe06 /org.eclipse.jgit.http.test/META-INF | |
parent | 32a5993227b5f43cb32becdf14d3efb6e88fa847 (diff) | |
download | jgit-4812fdab61c1ac61863247574be03425ba3bc674.tar.gz jgit-4812fdab61c1ac61863247574be03425ba3bc674.zip |
Make UploadPack observe exceptions reading refs
Now if refs are unreadable when serving an upload pack the handler
will fail due to the actual underlying failure. Previously all wants
would be rejected as invalid because Repository.getAllRefs() returned
an empty map.
Testing this required a new subclass of InMemoryRepository so that
an IOException could be injected at the correct time.
Signed-off-by: Michael Edgar <adgar@google.com>
Change-Id: Iac708b1db9d0ccce08c4ef5ace599ea0b57afdc0
Diffstat (limited to 'org.eclipse.jgit.http.test/META-INF')
-rw-r--r-- | org.eclipse.jgit.http.test/META-INF/MANIFEST.MF | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.jgit.http.test/META-INF/MANIFEST.MF b/org.eclipse.jgit.http.test/META-INF/MANIFEST.MF index 08924e72ce..253679b2c9 100644 --- a/org.eclipse.jgit.http.test/META-INF/MANIFEST.MF +++ b/org.eclipse.jgit.http.test/META-INF/MANIFEST.MF @@ -27,6 +27,7 @@ Import-Package: javax.servlet;version="[2.5.0,3.2.0)", org.eclipse.jgit.http.server.glue;version="[4.4.0,4.5.0)", org.eclipse.jgit.http.server.resolver;version="[4.4.0,4.5.0)", org.eclipse.jgit.internal;version="[4.4.0,4.5.0)", + org.eclipse.jgit.internal.storage.dfs;version="[4.4.0,4.5.0)", org.eclipse.jgit.internal.storage.file;version="[4.4.0,4.5.0)", org.eclipse.jgit.junit;version="[4.4.0,4.5.0)", org.eclipse.jgit.junit.http;version="[4.4.0,4.5.0)", |