[jboss-jira] [JBoss JIRA] (WFCORE-4631) Create tests for Elytron syslog reconnect attempts
James Perkins (Jira)
issues at jboss.org
Wed Sep 18 12:28:00 EDT 2019
[ https://issues.jboss.org/browse/WFCORE-4631?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13786262#comment-13786262 ]
James Perkins commented on WFCORE-4631:
---------------------------------------
I'm going to handle this differently than I had originally planned. There are tests in Elytron already that test this functionality. I'll be removing the unit tests as there is not a good way to ensure logging happens in a unit test that I'm aware of.
If in the future we do think there should be testing on WildFly Core, these likely should be integration tests. We'd need a way to ensure some audit logs are being invoked and then test would need to determine if the messages have NOT been logged. These types of tests are not by favorite as it's a negative assumption with a syslog server in the mix.
> Create tests for Elytron syslog reconnect attempts
> --------------------------------------------------
>
> Key: WFCORE-4631
> URL: https://issues.jboss.org/browse/WFCORE-4631
> Project: WildFly Core
> Issue Type: Task
> Components: Security
> Reporter: James Perkins
> Assignee: James Perkins
> Priority: Blocker
> Fix For: 10.0.0.Final
>
>
> WFCORE-4394 currently has some tests which will be disabled for this. It's likely some integration tests will need to be done instead of unit tests. ELY-1864 is going to change the way the reconnect attempts are done resulting in the current unit tests failing.
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
More information about the jboss-jira
mailing list