Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3B4D3200C3A for ; Fri, 3 Mar 2017 00:16:04 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 39E2B160B7A; Thu, 2 Mar 2017 23:16:04 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 8171E160B6F for ; Fri, 3 Mar 2017 00:16:03 +0100 (CET) Received: (qmail 26978 invoked by uid 500); 2 Mar 2017 23:16:02 -0000 Mailing-List: contact dev-help@atlas.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@atlas.incubator.apache.org Delivered-To: mailing list dev@atlas.incubator.apache.org Received: (qmail 26962 invoked by uid 99); 2 Mar 2017 23:16:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Mar 2017 23:16:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 0E6B518D4A3; Thu, 2 Mar 2017 23:16:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.203 X-Spam-Level: * X-Spam-Status: No, score=1.203 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=2, KAM_LAZY_DOMAIN_SECURITY=1, NML_ADSP_CUSTOM_MED=1.2, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id d0P_mtomh6GG; Thu, 2 Mar 2017 23:16:00 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 7F6F35FBC0; Thu, 2 Mar 2017 23:15:59 +0000 (UTC) Received: from reviews.apache.org (unknown [10.41.0.12]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id C767DE012C; Thu, 2 Mar 2017 23:15:58 +0000 (UTC) Received: from reviews-vm2.apache.org (localhost [IPv6:::1]) by reviews.apache.org (ASF Mail Server at reviews-vm2.apache.org) with ESMTP id 9F09DC403EF; Thu, 2 Mar 2017 23:15:58 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============4489203365314806370==" MIME-Version: 1.0 Subject: Re: Review Request 57241: [ATLAS-1621] : Fix webapp integration tests failures From: Sarath Subramanian To: Sarath Subramanian , Madhan Neethiraj , Apoorv Naik , atlas Date: Thu, 02 Mar 2017 23:15:58 -0000 Message-ID: <20170302231558.39765.38874@reviews-vm2.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: Sarath Subramanian X-ReviewGroup: atlas X-Auto-Response-Suppress: DR, RN, OOF, AutoReply X-ReviewRequest-URL: https://reviews.apache.org/r/57241/ X-Sender: Sarath Subramanian References: <20170302205847.39766.77018@reviews-vm2.apache.org> In-Reply-To: <20170302205847.39766.77018@reviews-vm2.apache.org> Reply-To: Sarath Subramanian X-ReviewRequest-Repository: atlas archived-at: Thu, 02 Mar 2017 23:16:04 -0000 --===============4489203365314806370== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit > On March 2, 2017, 12:58 p.m., Madhan Neethiraj wrote: > > webapp/src/test/java/org/apache/atlas/web/resources/EntityV2JerseyResourceIT.java > > Line 262 (original), 264 (patched) > > > > > > Shouldn't an empty string be an invalid value for guid? v2 apis supports: empty string for required attributes empty/null string for optional attrs doesnt support: null string for required attrs. - Sarath ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/57241/#review167730 ----------------------------------------------------------- On March 2, 2017, 3:03 p.m., Sarath Subramanian wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/57241/ > ----------------------------------------------------------- > > (Updated March 2, 2017, 3:03 p.m.) > > > Review request for atlas. > > > Bugs: ATLAS-1621 > https://issues.apache.org/jira/browse/ATLAS-1621 > > > Repository: atlas > > > Description > ------- > > Fix for the failed ITs: > Failed tests: > EntityJerseyResourceIT.testAddNullPropertyValue:423 Expected AtlasServiceException > EntityJerseyResourceIT.testAddReferenceProperty:449->addProperty:467 » AtlasService > EntityJerseyResourceIT.testEntityDeduping:264 » AtlasService Metadata service ... > EntityJerseyResourceIT.testPartialUpdate:739 » AtlasService Metadata service A... > EntityV2JerseyResourceIT.testAddNullPropertyValue:335->createHiveTable:443->createHiveTable:452 expected object to not be null > EntityV2JerseyResourceIT.testEntityDeduping:197 » AtlasService Metadata servic... > org.apache.atlas.web.resources.EntityV2JerseyResourceIT.testEntityInvalidValue(org.apache.atlas.web.resources.EntityV2JerseyResourceIT) > Run 1: PASS > Run 2: EntityV2JerseyResourceIT.testEntityInvalidValue:272 expected: but was: > EntityV2JerseyResourceIT.testSubmitEntity:103->createDBAndTable:437->createHiveTable:443->createHiveTable:452 expected object to not be null > EntityV2JerseyResourceIT.testSubmitEntityWithBadDateFormat:296 expected object to not be null > MetadataDiscoveryJerseyResourceIT.setUp:64->BaseResourceIT.createInstance:234 » AtlasService > Tests run: 135, Failures: 10, Errors: 0, Skipped: 17 > > > Diffs > ----- > > client/src/main/java/org/apache/atlas/AtlasClientV2.java af7dbbf > repository/src/main/java/org/apache/atlas/repository/store/graph/AtlasEntityStore.java 61657a1 > repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AtlasEntityStoreV1.java a3d951d > repository/src/test/java/org/apache/atlas/repository/store/graph/v1/InverseReferenceUpdateV1Test.java a198e61 > webapp/src/main/java/org/apache/atlas/web/resources/EntityResource.java 6d902db > webapp/src/main/java/org/apache/atlas/web/rest/EntityREST.java 288ef82 > webapp/src/test/java/org/apache/atlas/web/adapters/TestEntityREST.java 0c1ffd3 > webapp/src/test/java/org/apache/atlas/web/resources/BaseResourceIT.java 0bcabb7 > webapp/src/test/java/org/apache/atlas/web/resources/EntityJerseyResourceIT.java b37dbca > webapp/src/test/java/org/apache/atlas/web/resources/EntityV2JerseyResourceIT.java e0e32a8 > > > Diff: https://reviews.apache.org/r/57241/diff/2/ > > > Testing > ------- > > mvn clean verify -pl webapp -DskipUTs - all ITs tests suceeded > mvn clean install (in progress) > > > Thanks, > > Sarath Subramanian > > --===============4489203365314806370==--