[JBoss JIRA] (JBIDE-22194) Select template: inform user of his mistake in a more friendly way
by Marián Labuda (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22194?page=com.atlassian.jira.plugi... ]
Marián Labuda closed JBIDE-22194.
---------------------------------
Verified in JBDS 10.0.0.Alpha1 B5227.
> Select template: inform user of his mistake in a more friendly way
> ------------------------------------------------------------------
>
> Key: JBIDE-22194
> URL: https://issues.jboss.org/browse/JBIDE-22194
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: openshift
> Reporter: Viacheslav Kabanovich
> Assignee: Viacheslav Kabanovich
> Fix For: 4.4.0.Alpha1
>
>
> When user selects a json file with wrong resource instead of template, he should be informed of his mistake in a more friendly way.
> It is a ClassCastException now that user sees in an Error dialog, and he may be confused if it is his mistake or an application bug. Let's not log, nor show exception in this case, but just display what kind of resource user selected and what resource was expected.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 11 months
[JBoss JIRA] (JBIDE-22194) Select template: inform user of his mistake in a more friendly way
by Marián Labuda (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22194?page=com.atlassian.jira.plugi... ]
Marián Labuda updated JBIDE-22194:
----------------------------------
Attachment: error_message.png
> Select template: inform user of his mistake in a more friendly way
> ------------------------------------------------------------------
>
> Key: JBIDE-22194
> URL: https://issues.jboss.org/browse/JBIDE-22194
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: openshift
> Reporter: Viacheslav Kabanovich
> Assignee: Viacheslav Kabanovich
> Fix For: 4.4.0.Alpha1
>
> Attachments: error_message.png
>
>
> When user selects a json file with wrong resource instead of template, he should be informed of his mistake in a more friendly way.
> It is a ClassCastException now that user sees in an Error dialog, and he may be confused if it is his mistake or an application bug. Let's not log, nor show exception in this case, but just display what kind of resource user selected and what resource was expected.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 11 months
[JBoss JIRA] (JBIDE-22240) Tests: frequent failures in ConnectionRegistryTest.shouldNotifyConnectionChange
by Marián Labuda (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22240?page=com.atlassian.jira.plugi... ]
Marián Labuda closed JBIDE-22240.
---------------------------------
Closing, job is back to stable.
> Tests: frequent failures in ConnectionRegistryTest.shouldNotifyConnectionChange
> -------------------------------------------------------------------------------
>
> Key: JBIDE-22240
> URL: https://issues.jboss.org/browse/JBIDE-22240
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.4.0.Alpha1
> Reporter: Andre Dietisheim
> Assignee: Andre Dietisheim
> Fix For: 4.4.0.Alpha1
>
>
> ConnectionRegistryTest.shouldNotifyConnectionChange is frequently (even though not always) failing when running tests via surefire.
> {code}
> shouldNotifyConnectionChange(org.jboss.tools.openshift.test.core.connection.ConnectionRegistryTest) Time elapsed: 0.002 sec <<< FAILURE!
> java.lang.AssertionError: Exp. a notification to the listener and there was none
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.assertTrue(Assert.java:41)
> at org.jboss.tools.openshift.test.core.connection.ConnectionRegistryTest.shouldNotifyConnectionChange(ConnectionRegistryTest.java:142)
> Failed tests:
> ConnectionRegistryTest.shouldNotifyConnectionChange:142 Exp. a notification to the listener and there was none
> Tests run: 314, Failures: 1, Errors: 0, Skipped: 2
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 11 months
[JBoss JIRA] (JBIDE-22240) Tests: frequent failures in ConnectionRegistryTest.shouldNotifyConnectionChange
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22240?page=com.atlassian.jira.plugi... ]
Andre Dietisheim commented on JBIDE-22240:
------------------------------------------
[jenkins build #1259|https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/JBossTools/view/JBossTools_Master/job/jbosstools-openshift_master/1259/] is blue. Resolving
> Tests: frequent failures in ConnectionRegistryTest.shouldNotifyConnectionChange
> -------------------------------------------------------------------------------
>
> Key: JBIDE-22240
> URL: https://issues.jboss.org/browse/JBIDE-22240
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.4.0.Alpha1
> Reporter: Andre Dietisheim
> Assignee: Andre Dietisheim
> Fix For: 4.4.0.Alpha1
>
>
> ConnectionRegistryTest.shouldNotifyConnectionChange is frequently (even though not always) failing when running tests via surefire.
> {code}
> shouldNotifyConnectionChange(org.jboss.tools.openshift.test.core.connection.ConnectionRegistryTest) Time elapsed: 0.002 sec <<< FAILURE!
> java.lang.AssertionError: Exp. a notification to the listener and there was none
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.assertTrue(Assert.java:41)
> at org.jboss.tools.openshift.test.core.connection.ConnectionRegistryTest.shouldNotifyConnectionChange(ConnectionRegistryTest.java:142)
> Failed tests:
> ConnectionRegistryTest.shouldNotifyConnectionChange:142 Exp. a notification to the listener and there was none
> Tests run: 314, Failures: 1, Errors: 0, Skipped: 2
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 11 months
[JBoss JIRA] (JBIDE-22240) Tests: frequent failures in ConnectionRegistryTest.shouldNotifyConnectionChange
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22240?page=com.atlassian.jira.plugi... ]
Andre Dietisheim edited comment on JBIDE-22240 at 4/23/16 6:59 PM:
-------------------------------------------------------------------
The test never fails in Eclipse but with mvn in 1/3 builds in jenkins but 1/6 in my local mvn build.
The jenkins history shows ~50% failed builds failing on the very same test error
* [jenkins build #1245|https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/JBossTools/view/JBossTools_Master/job/jbosstools-openshift_master/1245/]
#1246|https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/JBossTools/view/JBossTools_Master/job/jbosstools-openshift_master/1246/]
#1247|https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/JBossTools/view/JBossTools_Master/job/jbosstools-openshift_master/1247/]
* [jenkins build #1249|https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/JBossTools/view/JBossTools_Master/job/jbosstools-openshift_master/1249/]
* [jenkins build #1253|https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/JBossTools/view/JBossTools_Master/job/jbosstools-openshift_master/1253/]
* [jenkins build #1254|https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/JBossTools/view/JBossTools_Master/job/jbosstools-openshift_master/1254/]
* [jenkins build #1255|https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/JBossTools/view/JBossTools_Master/job/jbosstools-openshift_master/1255/]
* [jenkins build #1255|https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/JBossTools/view/JBossTools_Master/job/jbosstools-openshift_master/1255/]
was (Author: adietish):
The test never fails in Eclipse but with mvn in 1/3 builds in jenkins but 1/6 in my local mvn build.
> Tests: frequent failures in ConnectionRegistryTest.shouldNotifyConnectionChange
> -------------------------------------------------------------------------------
>
> Key: JBIDE-22240
> URL: https://issues.jboss.org/browse/JBIDE-22240
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.4.0.Alpha1
> Reporter: Andre Dietisheim
> Assignee: Andre Dietisheim
> Fix For: 4.4.0.Alpha1
>
>
> ConnectionRegistryTest.shouldNotifyConnectionChange is frequently (even though not always) failing when running tests via surefire.
> {code}
> shouldNotifyConnectionChange(org.jboss.tools.openshift.test.core.connection.ConnectionRegistryTest) Time elapsed: 0.002 sec <<< FAILURE!
> java.lang.AssertionError: Exp. a notification to the listener and there was none
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.assertTrue(Assert.java:41)
> at org.jboss.tools.openshift.test.core.connection.ConnectionRegistryTest.shouldNotifyConnectionChange(ConnectionRegistryTest.java:142)
> Failed tests:
> ConnectionRegistryTest.shouldNotifyConnectionChange:142 Exp. a notification to the listener and there was none
> Tests run: 314, Failures: 1, Errors: 0, Skipped: 2
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 11 months
[JBoss JIRA] (JBIDE-22240) Tests: frequent failures in ConnectionRegistryTest.shouldNotifyConnectionChange
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22240?page=com.atlassian.jira.plugi... ]
Andre Dietisheim edited comment on JBIDE-22240 at 4/23/16 6:59 PM:
-------------------------------------------------------------------
The test never fails in Eclipse but with mvn in 1/3 builds in jenkins but 1/6 in my local mvn build.
The jenkins history shows ~50% failed builds failing on the very same test error
* [jenkins build #1245|https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/JBossTools/view/JBossTools_Master/job/jbosstools-openshift_master/1245/]
* [jenkins build #1246|https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/JBossTools/view/JBossTools_Master/job/jbosstools-openshift_master/1246/]
* [jenkins build #1247|https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/JBossTools/view/JBossTools_Master/job/jbosstools-openshift_master/1247/]
* [jenkins build #1249|https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/JBossTools/view/JBossTools_Master/job/jbosstools-openshift_master/1249/]
* [jenkins build #1253|https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/JBossTools/view/JBossTools_Master/job/jbosstools-openshift_master/1253/]
* [jenkins build #1254|https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/JBossTools/view/JBossTools_Master/job/jbosstools-openshift_master/1254/]
* [jenkins build #1255|https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/JBossTools/view/JBossTools_Master/job/jbosstools-openshift_master/1255/]
* [jenkins build #1255|https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/JBossTools/view/JBossTools_Master/job/jbosstools-openshift_master/1255/]
was (Author: adietish):
The test never fails in Eclipse but with mvn in 1/3 builds in jenkins but 1/6 in my local mvn build.
The jenkins history shows ~50% failed builds failing on the very same test error
* [jenkins build #1245|https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/JBossTools/view/JBossTools_Master/job/jbosstools-openshift_master/1245/]
#1246|https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/JBossTools/view/JBossTools_Master/job/jbosstools-openshift_master/1246/]
#1247|https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/JBossTools/view/JBossTools_Master/job/jbosstools-openshift_master/1247/]
* [jenkins build #1249|https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/JBossTools/view/JBossTools_Master/job/jbosstools-openshift_master/1249/]
* [jenkins build #1253|https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/JBossTools/view/JBossTools_Master/job/jbosstools-openshift_master/1253/]
* [jenkins build #1254|https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/JBossTools/view/JBossTools_Master/job/jbosstools-openshift_master/1254/]
* [jenkins build #1255|https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/JBossTools/view/JBossTools_Master/job/jbosstools-openshift_master/1255/]
* [jenkins build #1255|https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/JBossTools/view/JBossTools_Master/job/jbosstools-openshift_master/1255/]
> Tests: frequent failures in ConnectionRegistryTest.shouldNotifyConnectionChange
> -------------------------------------------------------------------------------
>
> Key: JBIDE-22240
> URL: https://issues.jboss.org/browse/JBIDE-22240
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.4.0.Alpha1
> Reporter: Andre Dietisheim
> Assignee: Andre Dietisheim
> Fix For: 4.4.0.Alpha1
>
>
> ConnectionRegistryTest.shouldNotifyConnectionChange is frequently (even though not always) failing when running tests via surefire.
> {code}
> shouldNotifyConnectionChange(org.jboss.tools.openshift.test.core.connection.ConnectionRegistryTest) Time elapsed: 0.002 sec <<< FAILURE!
> java.lang.AssertionError: Exp. a notification to the listener and there was none
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.assertTrue(Assert.java:41)
> at org.jboss.tools.openshift.test.core.connection.ConnectionRegistryTest.shouldNotifyConnectionChange(ConnectionRegistryTest.java:142)
> Failed tests:
> ConnectionRegistryTest.shouldNotifyConnectionChange:142 Exp. a notification to the listener and there was none
> Tests run: 314, Failures: 1, Errors: 0, Skipped: 2
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 11 months