That's a bad/quick fix for http://bugs.cloudstack.org/browse/CS-15922
Delete account will expunge all VMs for this account immediate , if expunge.interval is too short , VM GC may kick in, then two threads are trying to expunge the same VMs, which causes expunge fail. I think you can remove the hacker, and reopen the bug. Anthony > -----Original Message----- > From: Min Chen [mailto:min.c...@citrix.com] > Sent: Friday, January 25, 2013 8:30 PM > To: cloudstack-dev@incubator.apache.org > Cc: cloudstack-dev@incubator.apache.org > Subject: Re: Change in integration test for javelin > > Anthony can comment more on, he checked in that code to avoid some race > conditions in expunge VM. > > -min > > Sent from my iPhone > > On Jan 25, 2013, at 7:59 PM, "David Nalley" <da...@gnsa.us> wrote: > > > On Fri, Jan 25, 2013 at 9:57 PM, prasanna <t...@apache.org> wrote: > >> I know this code exists and it fails all the expunge tests > internally. > >> Do you know why it exists? Why should expunge be > 600 always? Seems > >> like we're overriding the global setting that the admin sets and > >> without log/warning. > > > > I concur - no idea why we would do this. If for no other reason than > > it makes testing too long, sounds like a bad idea. > > > > --David