Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 78594 invoked from network); 28 Nov 2006 10:21:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Nov 2006 10:21:26 -0000 Received: (qmail 88497 invoked by uid 500); 28 Nov 2006 10:21:32 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 88470 invoked by uid 500); 28 Nov 2006 10:21:32 -0000 Mailing-List: contact dev-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list dev@harmony.apache.org Received: (qmail 88461 invoked by uid 99); 28 Nov 2006 10:21:32 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Nov 2006 02:21:32 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of stepan.mishura@gmail.com designates 64.233.182.185 as permitted sender) Received: from [64.233.182.185] (HELO nf-out-0910.google.com) (64.233.182.185) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Nov 2006 02:21:21 -0800 Received: by nf-out-0910.google.com with SMTP id a25so1804969nfc for ; Tue, 28 Nov 2006 02:21:00 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=gtd+9m7a1VQ612vL9G24S8FllR4Oog7enVj3g81DwnG67CdxlPP76Y18+jtbgrsNHwuGjOgKGgEg0Ts1T5BipofyF3tXlT1+rsqoSS/+QgJpqUzvew5XUpSu8Dk6SEkwzlxFC9rQT1aKlRS5fX410WmSpWNgsPYrdQdVIGFbi8k= Received: by 10.48.162.12 with SMTP id k12mr622957nfe.1164709260410; Tue, 28 Nov 2006 02:21:00 -0800 (PST) Received: by 10.48.14.2 with HTTP; Tue, 28 Nov 2006 02:21:00 -0800 (PST) Message-ID: <6e47b64f0611280221m78f8d83ckec166ac16b7c75f@mail.gmail.com> Date: Tue, 28 Nov 2006 16:21:00 +0600 From: "Stepan Mishura" To: dev@harmony.apache.org Subject: Re: [general][tests]To restrict the side-effect of junit tests by launching it in a different VM. In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2929_8726242.1164709260373" References: X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_2929_8726242.1164709260373 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 11/27/06, Leo Li wrote: > > Hi, all: > During fixing the bug of Harmony-2249, I found that the testcase in > one > junit test file might lead to other fail in a different junit file. After > digging into it, I am aware that testcase can influence the global state > of > a VM, for example, the resolution of class (both RI and Harmony have > similar > behavior). Although I changed the testcase as a workaround, it is not > tested so thoroughly as I expected in order not to lead other tests to > fail. If a test's execution influence of VM state and this is critical for other test then the test can fork VM (via Support_Exec.execJava()) and do all testing in the forked VM. Thanks, Stepan. So I recommend if we can specify some testcase that should run in junit > with fork = "true". Maybe to add some annotation is one resolution or to > add > them to a property file as we done with excluded ones. > Any suggestion? > > -- > Leo Li > China Software Development Lab, IBM > > -- Stepan Mishura Intel Middleware Products Division ------------------------------------------------------ Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org For additional commands, e-mail: harmony-dev-help@incubator.apache.org ------=_Part_2929_8726242.1164709260373--