Return-Path: Delivered-To: apmail-db-ojb-dev-archive@www.apache.org Received: (qmail 76237 invoked from network); 14 Nov 2003 12:51:18 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 14 Nov 2003 12:51:18 -0000 Received: (qmail 95679 invoked by uid 500); 14 Nov 2003 12:51:16 -0000 Delivered-To: apmail-db-ojb-dev-archive@db.apache.org Received: (qmail 95654 invoked by uid 500); 14 Nov 2003 12:51:15 -0000 Mailing-List: contact ojb-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "OJB Developers List" Reply-To: "OJB Developers List" Delivered-To: mailing list ojb-dev@db.apache.org Received: (qmail 95639 invoked from network); 14 Nov 2003 12:51:15 -0000 Received: from unknown (HELO nsesn2.itellium.de) (194.145.89.2) by daedalus.apache.org with SMTP; 14 Nov 2003 12:51:15 -0000 Received: from f9620014.itellium.com (f9620014.itellium.com [10.0.6.31]) by nsesn2.itellium.de (Itellium SYSTEMS & SERVICES GmbH) with SMTP id hAECmmt00456 for ; Fri, 14 Nov 2003 13:48:48 +0100 Received: from unknown(10.200.203.10) by f9620014.itellium.com via csmap id 13074; Fri, 14 Nov 2003 13:40:33 +0100 (CET) Received: by f94000r7.essen.karstadt.de with Internet Mail Service (5.5.2653.19) id ; Fri, 14 Nov 2003 13:50:27 +0100 Message-ID: <09391A3F3BB80B4983CB5FB16B6E952F323181@F9620W1R.service.itellium.net> From: Mahler Thomas To: "'OJB Developers List'" Subject: RE: non-deterministic test failures, was: RE: junit test failures Date: Fri, 14 Nov 2003 13:51:11 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Olli, > > > If you try ant junit-quick, a fresh copy of the testdatabase is > > installed before executing junit-no-compile. > > That is not quite true. junit-quick delegates to (depends on) > junit-no-compile-no-prepare, not to junit-no-compile > oops, you are right... > junit-no-compile does delete the database: > \ojb_work\db-ojb>bin\build.bat junit-no-compile > Buildfile: build.xml > [..] > prepare-repository: > [delete] Deleting directory ...\ojb_work\db-ojb\target\test > > The essential difference between junit-quick and junit-no-compile > is that junit-quick does a copy-testdb, whereas junit-no-compile > uses torque to re-assemble the testdb. > > I have just run junit-quick several times and the problem > persists. Uh, oh... > For example, the following odmg test fail non-deterministically: > > Testcase: testLockNode took 0 sec > FAILED > expected:<7> but was:<5> > [...] > > Testcase: testAdding took 0 sec > FAILED > binded DList not found > [...] > > Testcase: testAddingTestcase: testRemoving took 0,047 sec > FAILED > database lookup does not find the named DList > [...] > > Apart from the non-desirable interdependency of the tests > inside the test suite, we have here non-determinism of the > whole test suite. that's not good :-( We really have to get rid of this problem. I'll add it to my todo list... cu, Thomas > Trust me. > Olli > > --------------------------------------------------------------------- > To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org > For additional commands, e-mail: ojb-dev-help@db.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org For additional commands, e-mail: ojb-dev-help@db.apache.org