[jbossts-issues] [JBoss JIRA] (JBTM-3182) Fix basic LRA tests

Martin Stefanko (Jira) issues at jboss.org
Mon Sep 9 04:34:00 EDT 2019


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

Martin Stefanko edited comment on JBTM-3182 at 9/9/19 4:33 AM:
---------------------------------------------------------------

[~mmusgrov] I'm afraid this is not possible if we don't want to break the entire history of Narayana [0]. The renaming of file is not tracked by git. However, history is preserved in form of follow version of the git log command. Can you please try to run:


{code:java}
git log --follow lra-test/lra-test-tck/pom.xml
{code}

would that be sufficient for you? Unfortunately, there is no option to display this directly in GitHub yet [1] but it seems that it will be there in the future. In the meantime, git blame works even in GitHub UI.

[0] https://stackoverflow.com/questions/2314652/is-it-possible-to-move-rename-files-in-git-and-maintain-their-history
[1] https://stackoverflow.com/questions/5646174/how-to-make-github-follow-directory-history-after-renames



was (Author: mstefank):
[~mmusgrov] I'm afraid this is not possible if we don't want to break the entire history of Narayana [0]. The renaming of file is not tracked by git. However, history is preserved in form of follow version of the git log command. Can you please try to run:


{code:java}
git log --follow lra-test/lra-test-tck/pom.xml
{code}

would that be sufficient for you? Unfortunately, there is no option to display this directly in GitHub yet [1] but there seems that it will be there in the future. In the meantime, git blame works even in GitHub UI.

[0] https://stackoverflow.com/questions/2314652/is-it-possible-to-move-rename-files-in-git-and-maintain-their-history
[1] https://stackoverflow.com/questions/5646174/how-to-make-github-follow-directory-history-after-renames


> Fix basic LRA tests
> -------------------
>
>                 Key: JBTM-3182
>                 URL: https://issues.jboss.org/browse/JBTM-3182
>             Project: JBoss Transaction Manager
>          Issue Type: Bug
>          Components: LRA
>    Affects Versions: 5.9.7.Final
>            Reporter: Martin Stefanko
>            Assignee: Martin Stefanko
>            Priority: Major
>             Fix For: 5.9.8.Final
>
>
> lra-test/basic is unable to run because of wrong CDI configuration after latest LRA upgrade:
> {code:java}
> ERROR [org.jboss.resteasy.resteasy_jaxrs.i18n] (default task-1) RESTEASY002025: Unknown exception while executing GET /root/participant/lra: java.lang.NullPointerException
> 	at io.narayana.lra.filter.ServerLRAFilter.filter(ServerLRAFilter.java:311)
> {code}



--
This message was sent by Atlassian Jira
(v7.13.5#713005)


More information about the jbossts-issues mailing list