Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9ED021016C for ; Tue, 8 Oct 2013 16:36:26 +0000 (UTC) Received: (qmail 11595 invoked by uid 500); 8 Oct 2013 16:36:25 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 11541 invoked by uid 500); 8 Oct 2013 16:36:19 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 11509 invoked by uid 99); 8 Oct 2013 16:36:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Oct 2013 16:36:17 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of pedro.r.marques@gmail.com designates 209.85.160.50 as permitted sender) Received: from [209.85.160.50] (HELO mail-pb0-f50.google.com) (209.85.160.50) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Oct 2013 16:36:11 +0000 Received: by mail-pb0-f50.google.com with SMTP id uo5so8793884pbc.23 for ; Tue, 08 Oct 2013 09:35:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=UkXhXFCcACZysQlQeHxM0Zl1lo7PR1+X727xkehIC8M=; b=Du3X06Fq+h8DWJZucv0NhqGWgKj3TuOINvIqoQGgPl89d7peWx1Xeo9KDoNqPiedCl HUa+feL4xfhw3Tlpgns/wFUiPz3XSRsEIepGKKn26FwKwC2plP5y5tYOSx3VRbzloOHQ A2T9tcnRu+/n76B+8qXOh47Kd1gU6WUk4xY6RwMdMAGVx/c4jJLV7Wqkw+oR0sNsP4rW qvwh/gWlGMyDCw0hg/VZloxHwWakE2MLJY4wLQBd2LJMbTllBS1QoGpHy6gfrjpAbu1e iSnJ3n/Qr4I/G9jOwJF2Jak9dtY6PIZsIlQ9CslYVNAPJv4H2Q3p2Cys9QeBpX8l/d0X QhvA== X-Received: by 10.68.234.10 with SMTP id ua10mr3071594pbc.116.1381250151081; Tue, 08 Oct 2013 09:35:51 -0700 (PDT) Received: from dhcp-172-21-25-82.jnpr.net (natint3.juniper.net. [66.129.224.36]) by mx.google.com with ESMTPSA id hz10sm41076963pbc.36.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 08 Oct 2013 09:35:49 -0700 (PDT) Subject: Re: Contrail plugin Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=us-ascii From: Pedro Roque Marques In-Reply-To: <20131008143604.GV98582@USLT-205755.sungardas.corp> Date: Tue, 8 Oct 2013 09:35:48 -0700 Cc: dev@cloudstack.apache.org, Chiradeep Vittal , Hugo Trippaers , tsp@apache.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <20131008142924.GC2645@cloud-2.local> <20131008143604.GV98582@USLT-205755.sungardas.corp> To: Chip Childers X-Mailer: Apple Mail (2.1283) X-Virus-Checked: Checked by ClamAV on apache.org On Oct 8, 2013, at 7:36 AM, Chip Childers wrote: > On Tue, Oct 08, 2013 at 07:59:24PM +0530, Prasanna Santhanam wrote: >> On Tue, Oct 08, 2013 at 10:23:32AM -0400, Chip Childers wrote: >>> 3) I'd love if we could get some consensus on what additional tests = and / >>> or changes to the test approach are needed. Prasanna - as with Hugo = and >>> Chiradeep, you've been "randomly" selected to at least provide some = input >>> here. >>=20 >> I saw the thread earlier about a mysql db generated for performing an >> integration test. If someone can point me to the spec/docs/readme on >> how to run these presumably without the contrail device I'm happy to >> take a look. The integration tests are being automatically executed by maven. (mvn -pl :cloud-plugin-network-contrail clean test). They spawn an instance of mysql on a dynamically allocated port in order = to ensure that the database contents are always initialized with the same content and that these set of tests do not leave content in the = database that could influence other tests... >=20 > Pedro, perhaps you can provide some guidance here. >=20 > Prasanna - it appears that most of the stuff is in > plugins/network-elements/juniper-contrail/test/ >=20 correct. > There are mysql start and stop .sh scripts, and unit tests in there as > well. >=20 Yes. the shell scripts start and stop a mysql instance. The scripts are = invoked from JUnit static initializer (@BeforeClass). > -chip