Status: Accepted
Owner: ----
Labels: Type-Enhancement Target-2.5 Priority-High

New issue 490 by pekka.klarck: Remove parallel execution of keywords (`:PARALLEL` ) because it doesn't work correctly
http://code.google.com/p/robotframework/issues/detail?id=490

Parallel execution of keywords using the special `:PARALLEL` syntax is
currently pretty buggy. The root cause for these problems is that the
keywords are executed in separate threads and the framework or libraries
aren't thread safe. If the keywords, for example, manipulate variables or
other internal state of the framework the end results may vary between
different runs, and in worst cases the result is crash or hang.

Making the framework fully thread safe would be a huge task, and it could
be that some of the current functionality even cannot be made thread safe.
On the other hand, handling parallel execution on test libraries based on
the actual needs is normally pretty easy and allows better customization.

Another problem with `:PARALLEL` is that this special case requires special
syntax. For example RIDE doesn't currently support it too well, and adding
the support would be quite a big task.

Because of these problems the core team has decided to remove `:PARALLEL`
in RF 2.5 unless someone comes up with very good counter arguments.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

Reply via email to