Is there lag time between creating and finding markers? [message #250480] |
Tue, 08 June 2004 09:50  |
Eclipse User |
|
|
|
I have code that during its execution it creates markers which never
give any indication of marker creation failure, however right at that
run() completes I attempt to get the markers created and there should
always be 1 since this is a junit test. However, the same unmodified
code will sometimes return an IMarker[] of size 1 and other times of
size 0. There seems to be some type of concurrency issue, but I can't
see where that is. So is there something I should join() on from the
jobmanager that will gaunrantee that any resource synchronizations have
happened.
Binyan
|
|
|
Re: Is there lag time between creating and finding markers? [message #254760 is a reply to message #250480] |
Tue, 22 June 2004 15:00  |
Eclipse User |
|
|
|
Originally posted by: john.eclipsefaq.org
No, that should work. As long as the markers aren't being created
directly by a background task such as a builder. If you have a JUnit
test case like this that fails, please enter a bug report.
--
Binyan wrote:
> I have code that during its execution it creates markers which never
> give any indication of marker creation failure, however right at that
> run() completes I attempt to get the markers created and there should
> always be 1 since this is a junit test. However, the same unmodified
> code will sometimes return an IMarker[] of size 1 and other times of
> size 0. There seems to be some type of concurrency issue, but I can't
> see where that is. So is there something I should join() on from the
> jobmanager that will gaunrantee that any resource synchronizations have
> happened.
>
> Binyan
|
|
|
Powered by
FUDForum. Page generated in 0.03091 seconds