Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bk94N-000795-5e for pgadmin-hackers@arkaria.postgresql.org; Wed, 14 Sep 2016 12:13:39 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bk94M-00027p-Am for pgadmin-hackers@arkaria.postgresql.org; Wed, 14 Sep 2016 12:13:38 +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 1bk948-0001tS-Tz for pgadmin-hackers@postgresql.org; Wed, 14 Sep 2016 12:13:25 +0000 Received: from mail-yw0-x22d.google.com ([2607:f8b0:4002:c05::22d]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bk945-0007kw-FY for pgadmin-hackers@postgresql.org; Wed, 14 Sep 2016 12:13:23 +0000 Received: by mail-yw0-x22d.google.com with SMTP id g192so16209622ywh.1 for ; Wed, 14 Sep 2016 05:13:21 -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=nBBTWTa7+mw5gadRlTlGXkpsjn4vK+qi0v42/4Cr1rk=; b=RvZoUJD8JoOyETEhs8Bjm74SJOgmsbGLqtoC2skfTZrqlZz6hEQY8t3bP5pm8Gjj2f +YoIHgSC99TZRGugkiCeQfGHXq2WjD/I8Ht8yCHN6w7gyJPcoL2ztstebaG0PBu4vbDw 7uZa6ydocOB7DDRpI+H5Jz3YYklMN+YsPIGVuBh8MwrNR+j1lwQ4TnVDmeMSBnwIdP71 lpYpXU5YbSofefjQY2KkdtARR9A25/Cee94oPFmRJeYEs1cggu+R0t6unbb3sLKrbOn7 kDt8G0Sq0VV0+rsaogGzOkJpUmcRgNqAHI7LK6zEkGStgfaGsRhft7C8Ll29U4OExy4Z RI0Q== 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=nBBTWTa7+mw5gadRlTlGXkpsjn4vK+qi0v42/4Cr1rk=; b=CAqAkADW/0QjGeDK0kAEKVC189l+Im5MWbPoD9DdfH0pLDGinJgHviSpnZqlKyUuLt T+EVH1TUU8ZsNKwexa/LSScVXHtb7qLVI83wva9kG1WzqUdtx9P5l27w18a/D2u/bq2i c9C2XIuIxpt7IGPd/39BbYtGcx+8+/u396XI3voyBvma6VJ+EawogDyzhf3O6sdPhYdQ IQ6qAm+VoKiyFIsvFOC5dRxRbCb28ov12CqUnrSps7Tl1x7202x7p49zxkb91I5KyOcV p/mGbrVqLfNc8hhXAi35Go7qwdgAJ2TuqClz6xMoPXYOVwF64p2LVUTgSd0mPd39ncmv DNjA== X-Gm-Message-State: AE9vXwOkv46hZR2mHRWa/zZBnpZ5BXWSbJdak/lJ2ZhoYmNp/bR8n1T+uvrKYQtelnMEHF47nasFJxTbprfrHS+yEc2WbHgNcnGchnslDxQ/6U5fhXA2OHAqEo8h6PXk65CgJxnuJalkNd/95cDbvs8q0pePTKOLgdYIJI8qNQ/1gRjil1GPkvjW5ZgFdfWmd8Qrn2IMSw== X-Received: by 10.13.203.143 with SMTP id n137mr2086116ywd.313.1473855199668; Wed, 14 Sep 2016 05:13:19 -0700 (PDT) Received: from mail-it0-f48.google.com (mail-it0-f48.google.com. [209.85.214.48]) by smtp.gmail.com with ESMTPSA id v186sm2251134ywa.2.2016.09.14.05.13.18 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Sep 2016 05:13:19 -0700 (PDT) Received: by mail-it0-f48.google.com with SMTP id 186so20231104itf.0 for ; Wed, 14 Sep 2016 05:13:18 -0700 (PDT) X-Received: by 10.107.151.11 with SMTP id z11mr6277682iod.28.1473855198130; Wed, 14 Sep 2016 05:13:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.1.203 with HTTP; Wed, 14 Sep 2016 05:13:16 -0700 (PDT) In-Reply-To: References: From: Dave Page Date: Wed, 14 Sep 2016 13:13:16 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Server specific advanced config file for testsuite To: Priyanka Shendge Cc: Navnath Gadakh , Kanchan Mohitey , pgadmin-hackers Content-Type: text/plain; charset=UTF-8 X-Pg-Spam-Score: -2.1 (--) 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 Hi On Tue, Sep 13, 2016 at 1:09 PM, Priyanka Shendge wrote: > > > On 13 September 2016 at 14:18, Dave Page wrote: >> >> Hi >> >> On Mon, Sep 12, 2016 at 6:26 PM, Navnath Gadakh >> wrote: >> > Hi Dave, >> > As we know that, we are using two JSON files one is for basic >> > configuration of server(test_config.json) and second for detailed >> > configuration of server(test_advanced_config.json). >> > In test_advanced_config.json, we give detail for database, schema, >> > extension, collation etc. These details are generic I mean these details >> > are >> > not server specific. >> > - Do we need to allow user to give server specific details? >> >> I don't see any reason to do so. Honestly I don't see much need for >> test_advanced_config.json at all - I can't see anyone ever customising >> the tests. I certainly doubt I will. > > > As per your suggestion, I have added test data to test_advanced_config.json > which will be used/changed by advanced user. I suggested it because I didn't think it should all be in the main config file. I didn't realise it was going to get so big at the time. > test_advanced_config.json contain test data for all nodes (i.e. database, > schema, tablespace etc..) except server. > If we dont use test_advanced_config.json file, from where we can fetch test > data for all nodes? Hard-code it in the tests. > We wants to edit test_advanced_config.json as per server type and version as > there are 2 types of > servers available i.e. PostgreSQL and EPAS which might have different test > data as per server type. > e.g. "owner": in case of PG it can be owner: "postgres" > which may not be available for EPAS, for EPAS it can be "enterprisedb" or > vice versa. But that data is in the server config (test_config.json). > If we do not modify the tests and run testsuite it will fail for multiple > servers. I honestly don't see why anything other than server-specific values (i.e. connection info, tablespace path) needs to be customisable. -- Dave Page VP, Chief Architect, Tools & Installers EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company Blog: http://pgsnake.blogspot.com Twitter: @pgsnake -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers