Repository: atlas Updated Branches: refs/heads/branch-0.8 2f3942831 -> a4c9496c2
ATLAS-2897: Elegant handling of empty zip files. Unit test fix. Project: http://git-wip-us.apache.org/repos/asf/atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/a4c9496c Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/a4c9496c Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/a4c9496c Branch: refs/heads/branch-0.8 Commit: a4c9496c2dc2ccbb7c6db1b0f7c7e5655dc4daeb Parents: 2f39428 Author: Ashutosh Mestry <[email protected]> Authored: Mon Oct 1 10:53:38 2018 -0700 Committer: Ashutosh Mestry <[email protected]> Committed: Mon Oct 1 10:53:38 2018 -0700 ---------------------------------------------------------------------- .../java/org/apache/atlas/repository/impexp/ZipSourceTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/atlas/blob/a4c9496c/repository/src/test/java/org/apache/atlas/repository/impexp/ZipSourceTest.java ---------------------------------------------------------------------- diff --git a/repository/src/test/java/org/apache/atlas/repository/impexp/ZipSourceTest.java b/repository/src/test/java/org/apache/atlas/repository/impexp/ZipSourceTest.java index f0034fa..7436dc0 100644 --- a/repository/src/test/java/org/apache/atlas/repository/impexp/ZipSourceTest.java +++ b/repository/src/test/java/org/apache/atlas/repository/impexp/ZipSourceTest.java @@ -56,7 +56,7 @@ public class ZipSourceTest { return getZipSource("sales-v1-full.zip"); } - @Test + @Test(expectedExceptions = AtlasBaseException.class) public void improperInit_ReturnsNullCreationOrder() throws IOException, AtlasBaseException { byte bytes[] = new byte[10]; ByteArrayInputStream bais = new ByteArrayInputStream(bytes);
