[jbosstools-issues] [JBoss JIRA] (JBIDE-21565) Test failures in EGitUtilsTest (using EGit UI 4.1.1 from Mars.2.RC1)

Andre Dietisheim (JIRA) issues at jboss.org
Fri Jan 22 13:48:00 EST 2016


     [ https://issues.jboss.org/browse/JBIDE-21565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andre Dietisheim updated JBIDE-21565:
-------------------------------------
    Description: 
Running tests against egit 4.1.1 in 4.52.0.Beta2 target platform (from Mars.2.RC1) results in 58 test failures:
http://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/JBossTools/view/JBossTools_4.3.mars/job/jbosstools-openshift_4.3.mars/157/testReport/
When I run locally with
{code}
mvn clean install -DTARGET_PLATFORM_VERSION=4.52.0.Beta2-SNAPSHOT

[INFO] org.jboss.tools.openshift.egit.test ................ FAILURE [ 14.670 s]
{code}
I get the attached failures:
org.jboss.tools.openshift.egit.internal.test.EGitTestSuite.txt
TEST-org.jboss.tools.openshift.egit.internal.test.EGitTestSuite.xml

  was:
org.jboss.tools.openshift.egit.ui.util.EGitUIUtils calls 	Activator.getDefault().getPreferenceStore().getString(UIPreferences.DEFAULT_REPO_DIR) to retrieve the defaut git repository defined in EGit. In Egit UI 4.1.1, used by Mars.2,  UIPreferences.DEFAULT_REPO_DIR was removed, so the code no longer compile / will fail to run.

Simply replacing this call with Activator.getDefault().getPreferenceStore().getString("default_repository_dir") doesn't work either, because it'll return an null value



> Test failures in EGitUtilsTest (using EGit UI 4.1.1 from Mars.2.RC1)
> --------------------------------------------------------------------
>
>                 Key: JBIDE-21565
>                 URL: https://issues.jboss.org/browse/JBIDE-21565
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>            Reporter: Fred Bricon
>            Assignee: Andre Dietisheim
>            Priority: Blocker
>             Fix For: 4.3.1.Beta2
>
>         Attachments: org.jboss.tools.openshift.egit.internal.test.EGitTestSuite.txt, TEST-org.jboss.tools.openshift.egit.internal.test.EGitTestSuite.xml
>
>
> Running tests against egit 4.1.1 in 4.52.0.Beta2 target platform (from Mars.2.RC1) results in 58 test failures:
> http://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/JBossTools/view/JBossTools_4.3.mars/job/jbosstools-openshift_4.3.mars/157/testReport/
> When I run locally with
> {code}
> mvn clean install -DTARGET_PLATFORM_VERSION=4.52.0.Beta2-SNAPSHOT
> [INFO] org.jboss.tools.openshift.egit.test ................ FAILURE [ 14.670 s]
> {code}
> I get the attached failures:
> org.jboss.tools.openshift.egit.internal.test.EGitTestSuite.txt
> TEST-org.jboss.tools.openshift.egit.internal.test.EGitTestSuite.xml



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list