Commit e6b9e9ad by Ashutosh Mestry

ATLAS-3396: ZipSourceWithBackingStore implementation. Empty ZIP unit test fix.

parent 8bad6b0b
......@@ -40,6 +40,7 @@ import org.apache.atlas.store.AtlasTypeDefStore;
import org.apache.atlas.type.AtlasClassificationType;
import org.apache.atlas.type.AtlasTypeRegistry;
import org.apache.commons.lang.StringUtils;
import org.apache.tinkerpop.shaded.kryo.io.Input;
import org.mockito.stubbing.Answer;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
......@@ -463,6 +464,6 @@ public class ImportServiceTest extends ExportImportTestBase {
@Test(expectedExceptions = AtlasBaseException.class)
public void importEmptyZip() throws IOException, AtlasBaseException {
getZipSource("empty.zip");
new ZipSource((InputStream) getZipSource("empty.zip")[0][0]);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment