This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 75137

Summary: Started tests don't start on Win if there is already running another test run
Product: qa Reporter: Marian Mirilovic <mmirilovic>
Component: CodeAssignee: ehucka <ehucka>
Status: CLOSED FIXED    
Severity: blocker    
Priority: P1    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Marian Mirilovic 2006-04-18 06:41:20 UTC
I am facing this problem last few days, I was just not sure it's a problem of
the infrastructure ( I thought I forgot to start the test run). 

But during the easter I tried to run a lot of test and now I am sure it
definitelly doesn't work on Win machines :
.... i fyou run the test run and there is still running another test run on the
Win machine, this new test run is never started...
Comment 1 ehucka 2006-04-18 09:34:02 UTC
Is it possible the problem occures only on windows 2000?
Comment 2 Marian Mirilovic 2006-04-18 09:47:23 UTC
I think it happend on all Windowses, but off course there was Win 2K as well on
the list ...
Comment 3 Marian Mirilovic 2006-04-18 14:54:22 UTC
No all Wins, I started tests again on perf machines and I was able to reproduce
it again.
Comment 4 ehucka 2006-04-19 14:37:44 UTC
I found out method 'renameTo' of java.io.File probably doesn't work on windowses
when a destination file already exists. It is used in persistence of tasks
queue. I will try to implement a different access there.
Comment 5 ehucka 2006-04-19 15:03:22 UTC
I have simply inserted a delete of previous queue file before rename. It should
help.
Comment 6 Marian Mirilovic 2006-04-28 14:17:32 UTC
verified