Merged: http://ovirt.org/wiki/Advanced_oVirt_Engine_Build_Notes#Forking_Unit_Tests
----- Original Message ----- > From: "Allon Mureinik" <[email protected]> > To: "Mike Kolesnik" <[email protected]>, [email protected] > Sent: Sunday, June 24, 2012 5:23:22 PM > Subject: Re: [Engine-devel] Forking unit tests > > > > ----- Original Message ----- > > From: "Allon Mureinik" <[email protected]> > > To: "Mike Kolesnik" <[email protected]> > > Sent: Thursday, June 14, 2012 12:12:54 PM > > Subject: Re: Forking unit tests > > > > > > > > ----- Original Message ----- > > > From: "Mike Kolesnik" <[email protected]> > > > To: "Allon Mureinik" <[email protected]> > > > Cc: "Laszlo Hornyak" <[email protected]>, "engine-devel" > > > <[email protected]> > > > Sent: Wednesday, June 13, 2012 1:28:36 PM > > > Subject: Re: Forking unit tests > > > > > > > Hi guys, > > > > > > > > If you're using settings.xml as published in Building the oVirt > > > > Engine page, you'd see we're forking for every test, in every > > > > subproject. > > > > This behaviour was introduced to handle memory leaks in > > > > PowerMock > > > > we > > > > use in some subprojects, but is redundant in others. > > > > > > > > Over the past month or so I've been working on removing > > > > PowerMock > > > > from as many places as possible (many thanks to mkolesni and > > > > lhornyak!), and we've got to the stage that forking is only > > > > needed > > > > in to subprojects - bll and resttypes. > > > > > > +1 - great job! > > 10x! > > > > > > > > Would it be possible to have this as a parameter (defaul true) > > > that > > > can be overridden, such as -Dengine.forkTests=false ? > > couldn't find a good way to do it <forkMode> doesn't seem to work > > when given a property as a value, sorry. > > :-( > Take a look at http://gerrit.ovirt.org/#/c/5653/1. > Once it is merged, you could user -Dengine.powermock.fork=one to stop > forking. > > > > > > > > > > The forking was defined explicitly in those two projects, so if > > > > you > > > > want to speed up your tests, just take the latest version of > > > > settings.xml from > > > > http://ovirt.org/wiki/Building_oVirt_engine#Maven_personal_settings. > > > > > > > > > > > > -Allon > > > > > > > > > > _______________________________________________ > Engine-devel mailing list > [email protected] > http://lists.ovirt.org/mailman/listinfo/engine-devel > _______________________________________________ Engine-devel mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-devel
