You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@atlas.apache.org by am...@apache.org on 2018/11/01 23:02:02 UTC
[16/50] [abbrv] atlas git commit: ATLAS-2897: Elegant handling of
empty zip files. Unit test fix.
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/21ab886c
Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/21ab886c
Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/21ab886c
Branch: refs/heads/branch-1.0
Commit: 21ab886cf78580aa0457dae2a0ebdc4b12799b21
Parents: 19f9fdd
Author: Ashutosh Mestry <am...@hortonworks.com>
Authored: Mon Oct 1 10:53:38 2018 -0700
Committer: Ashutosh Mestry <am...@hortonworks.com>
Committed: Thu Nov 1 15:42:56 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/21ab886c/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);