Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bD7Eq-0002AH-ER for pgadmin-hackers@arkaria.postgresql.org; Wed, 15 Jun 2016 09:35:56 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bD7Eq-0002yC-00 for pgadmin-hackers@arkaria.postgresql.org; Wed, 15 Jun 2016 09:35:56 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bD7Ec-0002Ut-Q8 for pgadmin-hackers@postgresql.org; Wed, 15 Jun 2016 09:35:43 +0000 Received: from mail-qk0-x22f.google.com ([2607:f8b0:400d:c09::22f]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bD7EZ-0007vH-S6 for pgadmin-hackers@postgresql.org; Wed, 15 Jun 2016 09:35:41 +0000 Received: by mail-qk0-x22f.google.com with SMTP id s186so13031464qkc.1 for ; Wed, 15 Jun 2016 02:35:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=CHBI1NJpHqEcajYoIHhEoo/WDIkryIXTH+WpvPb4BBA=; b=jlPLg05FfXiZh5wJUO6cEmAmx/HtUTf1ZE7KZcTQyp5afTqnNde0asYv8Z0Ru5CAXd FRBDUAoGy5NdLVwLgfefV85eUKljt2RAO9vzqDTN58j6M5oEmhxiQJ8/ERGMa4PmHlbb uHzCE9bxZXFjeIAekiPca9NLD5ugEWyZr0TRYwiQTdP/Tvq1ADx1LqQiPBfr6D3BI4OI eVTot9ybH3s1AWV1FymN/jHZVa0AQE3F2CqH3QLDfJp9O8U2P3UtA9eRcHefZ5ZL4PiE enOU7GX6xGrZcFuTybEQm/kXQJpGudAyhDeNagSXkvJ7rb0jkgPV6Ok5Tn3Y6RhfZLf+ J0zQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=CHBI1NJpHqEcajYoIHhEoo/WDIkryIXTH+WpvPb4BBA=; b=V2FJBhWuno/HgwuHTBPLRUBAGKT/Ulx7jc7B4Vd4Wemw8RXsENNnUQtYVDke/SppVs RljNsyt77INTR5+Xhu3W3H2jhI1f/gCdPpO7Vdd02hI8rgXhSAE+bQ2FIaSKZSnNa1dQ jGpinE973dDd+OIGAhKx9USpJ8Ste7wJAxr27PVpx8ffO2d4mT8DB9t0JcpWKRXx9PTr Th1IRrb71w4/Z34oYHOmryO5tAsgeJ2FoD3dKxO+soscpf94+vK9WQxzREZJjT7yPohW UE2hJbDdMp0XPUFJjZ0oSlveY4Owgug7S/ReC1z71G9XwBDM8VpraYC1UWA1rsbu7qZN m61g== X-Gm-Message-State: ALyK8tL38xSkjq/VfT3dIVMErkwm1pkT7wah2fHNUw7AkOw6Pjxe7AWUH2uo3vGKePUpE3ospmkivMrsxs6W2hoK X-Received: by 10.200.51.35 with SMTP id t32mr24162071qta.91.1465983338766; Wed, 15 Jun 2016 02:35:38 -0700 (PDT) MIME-Version: 1.0 Received: by 10.237.45.165 with HTTP; Wed, 15 Jun 2016 02:35:19 -0700 (PDT) In-Reply-To: References: From: Priyanka Shendge Date: Wed, 15 Jun 2016 15:05:19 +0530 Message-ID: Subject: Re: pgAdmin IV API test cases patch To: Dave Page Cc: pgadmin-hackers , Kanchan Mohitey Content-Type: multipart/alternative; boundary=001a1149e70027780605354dd8ca X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgadmin-hackers Precedence: bulk Sender: pgadmin-hackers-owner@postgresql.org --001a1149e70027780605354dd8ca Content-Type: text/plain; charset=UTF-8 Thanks a lot Dave. On 15 June 2016 at 14:09, Dave Page wrote: > Hi > > On Thu, Jun 9, 2016 at 1:37 PM, Priyanka Shendge > wrote: > > Hi Dave, > > > > PFA updated patch. I have made changes suggested by you. > > > > Kindly, review and let me know for more changes. > > OK, I got a bit further this time, but not there yet. > > 1) The patch overwrote my test_config.json file. That should never > happen (that file shouldn't be in the source tree). > test_config.json.in should be the file that's included in the patch. > OK. > > 2) The updated test_config.json file is huge. I should only need to > define one or more connections, then be able to run the tests. If you > need to keep configuration info for "advanced users", let's put it in > a different file to avoid confusing/scaring everyone else. Maybe split > it into config.json for the stuff the user needs to edit > (config.json.in would go in git), and test_config.json for the test > configuration. > Sure, i'll do that. > > 3) It fails on my machine, for what looks like a coding error > initially, then a lot of issues where it can't find parent_id.pkl. > I've attached the log. > I'll check and send you an updated patch. > > Thanks. > > -- > Dave Page > Blog: http://pgsnake.blogspot.com > Twitter: @pgsnake > > EnterpriseDB UK: http://www.enterprisedb.com > The Enterprise PostgreSQL Company > -- Best, Priyanka EnterpriseDB Corporation The Enterprise PostgreSQL Company --001a1149e70027780605354dd8ca Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks a lot Dave.=C2=A0

On 15 June 2016 at 14:09, Dave Page <dpage@pgadmin= .org> wrote:
Hi

On Thu, Jun 9, 2016 at 1:37 PM, Priyanka Shendge
<priyanka.shendge@e= nterprisedb.com> wrote:
> Hi Dave,
>
> PFA updated patch. I have made changes suggested by you.
>
> Kindly, review and let me know for more changes.

OK, I got a bit further this time, but not there yet.

1) The patch overwrote my test_config.json file. That should never
happen (that file shouldn't be in the source tree).
test_config.json.in should be the file that's included in the patc= h.

OK.=C2=A0

2) The updated test_config.json file is huge. I should only need to
define one or more connections, then be able to run the tests. If you
need to keep configuration info for "advanced users", let's p= ut it in
a different file to avoid confusing/scaring everyone else. Maybe split
it into config.json for the stuff the user needs to edit
(con= fig.json.in would go in git), and test_config.json for the test
configuration.
=C2=A0
Sure, i'll do that= .=C2=A0

3) It fails on my machine, for what looks like a coding error
initially, then a lot of issues where it can't find parent_id.pkl.
I've attached the log.

I'll che= ck and send you =C2=A0an updated patch.

Thanks.

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



--
=
Best,
Priyanka

EnterpriseDB Corporation
The Enterprise PostgreSQL Co= mpany

--001a1149e70027780605354dd8ca--