Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bD6Mz-0005wO-6u for pgadmin-hackers@arkaria.postgresql.org; Wed, 15 Jun 2016 08:40:17 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bD6My-00005L-7o for pgadmin-hackers@arkaria.postgresql.org; Wed, 15 Jun 2016 08:40:16 +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 1bD6Mx-00005A-Qz for pgadmin-hackers@postgresql.org; Wed, 15 Jun 2016 08:40:15 +0000 Received: from mail-it0-x22a.google.com ([2607:f8b0:4001:c0b::22a]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bD6Mp-0006dS-2P for pgadmin-hackers@postgresql.org; Wed, 15 Jun 2016 08:40:14 +0000 Received: by mail-it0-x22a.google.com with SMTP id e5so14638988ith.0 for ; Wed, 15 Jun 2016 01:40:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pgadmin-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=9zcyC/C5hAQVSntgVbALqqJdMG+mEynmjRa+7337kjg=; b=PmAdso12wMUtTbmvMjoUgSsT2kQxAZgb4hTToTCvKyUFC5gKI4yVzgfLbK4WqX81vD 0wPF9Zv1zAqu1a9fzjJSd+9SRO8jErbTuDeIvvsgFSDJUJZHx+Xa80a7BGKn9A8r+Z1b K4RO/+r+O6VTbQLFHjDjgLydiwrigiPl0xhHq84/zk0Y39npJLs94jwpkShfJuPWabO5 NgTTgvDodkVEKFofotyx+3TQn5A69QB2PUbwXdzHy2CNrTX7MAxrHKkHbDcebfjnuK7r w5X66VQTe2lq/nhM9o9VC4rQknWLBLk/9yEKX/uozUh2UZxZFRj/ngfpPpOTkGUcTPsa o7vw== 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=9zcyC/C5hAQVSntgVbALqqJdMG+mEynmjRa+7337kjg=; b=LkWU2+60vJYXcJ6t449AA5teRqVWuTy3kuFmNwDWcl/oofQ5RHPHDzqqIZoZ2NQM5q v5U4Y2rH9V4HkB6spXMer0DChMEJgjX2PCReU3SBImT+FlYbd36RmWWVOc0Y0n/W+wM2 Hjc+zJyLdn2XzG6q5GoLrUmhvMHCVoM1jLRezTCimipYFa/xTLgZafKPLhdHsLL6H1bM p6Rdpt8UC6i8kbkT1bzEZpQCtCsey7aQVx29V0sS+hMkzXqVkNMZmE0JJPNx5COoWsPy ne6ZkbVZsUeSt1XWJIh+fke18UQAL1N59VMoHoQwmnxq5W+1uBJhhatRsPRAS1KD5W3x hSVw== X-Gm-Message-State: ALyK8tKG5QVZgxEUnKP3G0F3Eds/sQuwEfL5igaZoOtNz/MN4dz2kvCKk/CGFhDG2OIb0+85qmGzlWzpiGbUJQ== X-Received: by 10.36.1.144 with SMTP id 138mr32001342itk.35.1465980005982; Wed, 15 Jun 2016 01:40:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.24.233 with HTTP; Wed, 15 Jun 2016 01:40:05 -0700 (PDT) In-Reply-To: References: From: Dave Page Date: Wed, 15 Jun 2016 09:40:05 +0100 Message-ID: Subject: Re: pgAdmin IV API test cases patch To: Priyanka Shendge Cc: pgadmin-hackers , Kanchan Mohitey , Ashesh Vashi Content-Type: text/plain; charset=UTF-8 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 Ashesh - can you also look at the patch please (feel free to wait for the update). I want more eyes on this. Thanks. On Wed, Jun 15, 2016 at 9:39 AM, 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. > > 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. > > 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. > > Thanks. > > -- > Dave Page > Blog: http://pgsnake.blogspot.com > Twitter: @pgsnake > > EnterpriseDB UK: http://www.enterprisedb.com > The Enterprise PostgreSQL Company -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers