[JBoss JIRA] (ARQ-1654) Expose an ExecutorService to help Extension with multithreading
by Aslak Knutsen (JIRA)
Aslak Knutsen created ARQ-1654:
----------------------------------
Summary: Expose an ExecutorService to help Extension with multithreading
Key: ARQ-1654
URL: https://issues.jboss.org/browse/ARQ-1654
Project: Arquillian
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Base Implementation
Affects Versions: 1.1.3.Final
Reporter: Aslak Knutsen
Expose a Service to execute Callable's and Runnable's within a Inherited context.
The general idea is to hide the complexity of reactivating the current Contextual information on the new Thread.
ExecutorService needs to be a limited view of the java.utl.concurrent.ExecutorService to avoid 'abuse' like shutdown being called prematurely.
The submit(*) methods should probably be enough.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 1 month
[JBoss JIRA] (ARQ-1654) Expose an ExecutorService to help Extension with multithreading
by Aslak Knutsen (JIRA)
[ https://issues.jboss.org/browse/ARQ-1654?page=com.atlassian.jira.plugin.s... ]
Aslak Knutsen reassigned ARQ-1654:
----------------------------------
Assignee: Aslak Knutsen
> Expose an ExecutorService to help Extension with multithreading
> ---------------------------------------------------------------
>
> Key: ARQ-1654
> URL: https://issues.jboss.org/browse/ARQ-1654
> Project: Arquillian
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Base Implementation
> Affects Versions: 1.1.3.Final
> Reporter: Aslak Knutsen
> Assignee: Aslak Knutsen
> Fix For: 2.0.0.Beta1
>
>
> Expose a Service to execute Callable's and Runnable's within a Inherited context.
> The general idea is to hide the complexity of reactivating the current Contextual information on the new Thread.
> ExecutorService needs to be a limited view of the java.utl.concurrent.ExecutorService to avoid 'abuse' like shutdown being called prematurely.
> The submit\(\*\) methods should probably be enough.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 1 month
[JBoss JIRA] (ARQ-1654) Expose an ExecutorService to help Extension with multithreading
by Aslak Knutsen (JIRA)
[ https://issues.jboss.org/browse/ARQ-1654?page=com.atlassian.jira.plugin.s... ]
Aslak Knutsen updated ARQ-1654:
-------------------------------
Fix Version/s: 2.0.0.Beta1
> Expose an ExecutorService to help Extension with multithreading
> ---------------------------------------------------------------
>
> Key: ARQ-1654
> URL: https://issues.jboss.org/browse/ARQ-1654
> Project: Arquillian
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Base Implementation
> Affects Versions: 1.1.3.Final
> Reporter: Aslak Knutsen
> Fix For: 2.0.0.Beta1
>
>
> Expose a Service to execute Callable's and Runnable's within a Inherited context.
> The general idea is to hide the complexity of reactivating the current Contextual information on the new Thread.
> ExecutorService needs to be a limited view of the java.utl.concurrent.ExecutorService to avoid 'abuse' like shutdown being called prematurely.
> The submit(*) methods should probably be enough.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 1 month
[JBoss JIRA] (ARQ-1654) Expose an ExecutorService to help Extension with multithreading
by Aslak Knutsen (JIRA)
[ https://issues.jboss.org/browse/ARQ-1654?page=com.atlassian.jira.plugin.s... ]
Aslak Knutsen updated ARQ-1654:
-------------------------------
Description:
Expose a Service to execute Callable's and Runnable's within a Inherited context.
The general idea is to hide the complexity of reactivating the current Contextual information on the new Thread.
ExecutorService needs to be a limited view of the java.utl.concurrent.ExecutorService to avoid 'abuse' like shutdown being called prematurely.
The submit\(\*\) methods should probably be enough.
was:
Expose a Service to execute Callable's and Runnable's within a Inherited context.
The general idea is to hide the complexity of reactivating the current Contextual information on the new Thread.
ExecutorService needs to be a limited view of the java.utl.concurrent.ExecutorService to avoid 'abuse' like shutdown being called prematurely.
The submit(*) methods should probably be enough.
> Expose an ExecutorService to help Extension with multithreading
> ---------------------------------------------------------------
>
> Key: ARQ-1654
> URL: https://issues.jboss.org/browse/ARQ-1654
> Project: Arquillian
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Base Implementation
> Affects Versions: 1.1.3.Final
> Reporter: Aslak Knutsen
> Fix For: 2.0.0.Beta1
>
>
> Expose a Service to execute Callable's and Runnable's within a Inherited context.
> The general idea is to hide the complexity of reactivating the current Contextual information on the new Thread.
> ExecutorService needs to be a limited view of the java.utl.concurrent.ExecutorService to avoid 'abuse' like shutdown being called prematurely.
> The submit\(\*\) methods should probably be enough.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 1 month
[JBoss JIRA] (ARQ-1653) Drone use concurrent.ExecutorService without Context inheritance on Threads
by Aslak Knutsen (JIRA)
Aslak Knutsen created ARQ-1653:
----------------------------------
Summary: Drone use concurrent.ExecutorService without Context inheritance on Threads
Key: ARQ-1653
URL: https://issues.jboss.org/browse/ARQ-1653
Project: Arquillian
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Extension - Drone
Affects Versions: 1.1.3.Final, drone_1.2.3.Final
Reporter: Aslak Knutsen
Context's in Arquillian are bound to ThreadLocals within their lifecycle. In Core 1.0.4.Final this was changed to use InheritableThreadLocal to fix an issue with the TestFramework not finding Core when executing multiple threads. This had some unforeseen consequences and in the end reverted in 1.1.3.Final.
Somewhere inbetween those versions, Drone started to use a Threaded WebDriver creation to allow timeout control. This is now failing, since the InstanceCallable is called on a 'empty' Thread.
https://github.com/arquillian/arquillian-extension-drone/blob/master/dron...
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 1 month