[jboss-jira] [JBoss JIRA] (WFLY-11510) EarOpenTracingWithWeldProbeTestCase fails with node0/1 set

Matej Novotny (Jira) issues at jboss.org
Thu Dec 13 05:37:00 EST 2018


    [ https://issues.jboss.org/browse/WFLY-11510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13674198#comment-13674198 ] 

Matej Novotny commented on WFLY-11510:
--------------------------------------

[~okotek] you are probably right, Probe will be blocking this. There is a [config option|https://github.com/weld/core/blob/master/impl/src/main/java/org/jboss/weld/config/ConfigurationKey.java#L197-L211] which can be leveraged to fix this.
And [here|http://docs.jboss.org/weld/reference/latest/en-US/html_single/#_weld_configuration] is how to pass these configs to Weld.

> EarOpenTracingWithWeldProbeTestCase fails with node0/1 set
> ----------------------------------------------------------
>
>                 Key: WFLY-11510
>                 URL: https://issues.jboss.org/browse/WFLY-11510
>             Project: WildFly
>          Issue Type: Bug
>          Components: MP OpenTracing, Test Suite
>    Affects Versions: 16.0.0.Beta1
>            Reporter: Ondrej Kotek
>            Assignee: Matej Novotny
>            Priority: Major
>
> {{org.jboss.as.test.integration.microprofile.opentracing.EarOpenTracingWithWeldProbeTestCase}} fails with {{node0}} and {{node1}} set:
> {noformat}
> WARN  [org.jboss.weld.probe.Probe] (default task-1) PROBE-000017: Access to /ServiceOne/service-endpoint/app denied for <my IP>
> WARN  [org.jboss.weld.probe.Probe] (default task-1) PROBE-000017: Access to /ServiceOne/service-endpoint/app denied for <my IP>
> ...
> java.lang.AssertionError: expected:<200> but was:<403>
> 	at org.junit.Assert.fail(Assert.java:88)
> 	at org.junit.Assert.failNotEquals(Assert.java:834)
> 	at org.junit.Assert.assertEquals(Assert.java:645)
> 	at org.junit.Assert.assertEquals(Assert.java:631)
> 	at org.jboss.as.test.integration.microprofile.opentracing.AbstractEarOpenTracingTestCase.testHttpInvokation(AbstractEarOpenTracingTestCase.java:67)
> 	at org.jboss.as.test.integration.microprofile.opentracing.AbstractEarOpenTracingTestCase.testEarServicesUseDifferentTracersAfterReload(AbstractEarOpenTracingTestCase.java:59)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> ...
> {noformat}
> Maybe access from remote IP addresses is blocked in development mode.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list