Skip to content

Comments

CAMEL-12834: Fix failing CDI tests#2904

Merged
astefanutti merged 1 commit intoapache:masterfrom
DenisIstomin:camel-12834-cdi-exception
May 6, 2019
Merged

CAMEL-12834: Fix failing CDI tests#2904
astefanutti merged 1 commit intoapache:masterfrom
DenisIstomin:camel-12834-cdi-exception

Conversation

@DenisIstomin
Copy link
Member

Test were failed because they run with different maven profiles: weld-1.0, weld-1.2, weld-2.0.
Different versions of WELD have different exception messages.

Failing tests:

  1. UriWithWrongContextTest - removed unnesesary checks, checking only error code and injection point
  2. UnsatisfiedContextForEndpointInjectTest - fixed by adding cause exception message at ExpectedDeploymentException

@astefanutti astefanutti merged commit 5f27950 into apache:master May 6, 2019
@astefanutti
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants