]
Bartosz Majsak updated ARQ-2157:
--------------------------------
Fix Version/s: 1.1..15.Final
Lookup value is null if classpath contains multiple ResourceProviders
which canProvide lookup
---------------------------------------------------------------------------------------------
Key: ARQ-2157
URL:
https://issues.jboss.org/browse/ARQ-2157
Project: Arquillian
Issue Type: Bug
Components: Base Implementation
Reporter: Bartosz Majsak
Assignee: Dipak Pawar
Priority: Minor
Fix For: 1.1..15.Final
*Issue Overview*
Currently ArquillianResourceTestEnricher is doing lookup for first provider from the
classpath which can provide lookup. You can check code
[
here](https://github.com/arquillian/arquillian-core/blob/master/test/impl...
If classpath contains multiple providers which can provide lookup, then it's
returning first provider lookup which is resolving using ArquillianResourceTestEnricher.
*Expected Behaviour*
Arquillian should take Provider which has higher priority among all providers which
canProvide lookup.
Or it should lookup at least all provider and return first non-null value.
*Current Behaviour*
It's providing first provider's lookup which may be null.