[JBoss JIRA] (RFPL-3692) metamer: stabilize push tests
by Jiří Štefek (JIRA)
[ https://issues.jboss.org/browse/RFPL-3692?page=com.atlassian.jira.plugin.... ]
Jiří Štefek updated RFPL-3692:
------------------------------
Description:
Only on *Firefox*.
Sometimes, running these tests freezes the whole suite inside one test method.
Log from Jenkins (check the times):
{code}
06:26:31.869 [09:10:00] STARTED: a4jPush.TestTwoPushCDI.testPushEnable() { template=plain }
09:11:17.998 Build timed out (after 180 minutes). Marking the build as aborted.
09:11:18.003 Terminating xvnc.
09:11:18.011 $ vncserver -kill :41
09:11:18.144 Killing Xvnc process ID 20637
09:11:18.281 [11:54:46] FAILURE: a4jPush.TestTwoPushCDI.testPushEnable() { template=plain }
{code}
It could be also reproduced locally by e.g.:
{{mvn verify -Dbrowser=firefox -DexcludedGroups=extended,Future -Dtemplates=* -Pwildfly-managed-8-2 -Dtest=TestTwoPush#testOnSubscribed}}
It is hard to reproduce it sometimes, so try to run it repeatedly.
It will stuck on this line [*Graphene.waitModel().until().element(page.getRequestTimeElement()).text().not().equalTo(requestTime);*|https://github.com/richfaces/richfaces-qa/blob/master/metamer/ftest/src/test/java/org/richfaces/tests/metamer/ftest/a4jPush/TestTwoPush.java#L60].
was:
Only on *Firefox*.
Sometimes, running these tests freezes the whole suite inside one test method.
Log from Jenkins (check the times):
{code}
06:26:31.869 [09:10:00] STARTED: a4jPush.TestTwoPushCDI.testPushEnable() { template=plain }
09:11:17.998 Build timed out (after 180 minutes). Marking the build as aborted.
09:11:18.003 Terminating xvnc.
09:11:18.011 $ vncserver -kill :41
09:11:18.144 Killing Xvnc process ID 20637
09:11:18.281 [11:54:46] FAILURE: a4jPush.TestTwoPushCDI.testPushEnable() { template=plain }
{code}
It could be also reproduced locally by e.g.:
{{mvn verify -Dbrowser=firefox -DexcludedGroups=extended,Future -Dtemplates=* -Pwildfly-managed-8-2 -Dtest=TestTwoPush#testOnSubscribed}}
It is hard to reproduce it sometimes, so try to run it repeatedly.
It will stuck on this line [*Graphene.waitModel().until().element(page.getRequestTimeElement()).text().not().equalTo(requestTime);*|https://github.com/richfaces/richfaces-qa/blob/master/metamer/ftest/src/test/java/org/richfaces/tests/metamer/ftest/a4jPush/TestTwoPush.java#L59].
> metamer: stabilize push tests
> -----------------------------
>
> Key: RFPL-3692
> URL: https://issues.jboss.org/browse/RFPL-3692
> Project: RichFaces Planning
> Issue Type: Task
> Components: QE
> Affects Versions: 4.5.1.Final
> Environment: Firefox
> Reporter: Jiří Štefek
> Assignee: Jiří Štefek
>
> Only on *Firefox*.
> Sometimes, running these tests freezes the whole suite inside one test method.
> Log from Jenkins (check the times):
> {code}
> 06:26:31.869 [09:10:00] STARTED: a4jPush.TestTwoPushCDI.testPushEnable() { template=plain }
> 09:11:17.998 Build timed out (after 180 minutes). Marking the build as aborted.
> 09:11:18.003 Terminating xvnc.
> 09:11:18.011 $ vncserver -kill :41
> 09:11:18.144 Killing Xvnc process ID 20637
> 09:11:18.281 [11:54:46] FAILURE: a4jPush.TestTwoPushCDI.testPushEnable() { template=plain }
> {code}
> It could be also reproduced locally by e.g.:
> {{mvn verify -Dbrowser=firefox -DexcludedGroups=extended,Future -Dtemplates=* -Pwildfly-managed-8-2 -Dtest=TestTwoPush#testOnSubscribed}}
> It is hard to reproduce it sometimes, so try to run it repeatedly.
> It will stuck on this line [*Graphene.waitModel().until().element(page.getRequestTimeElement()).text().not().equalTo(requestTime);*|https://github.com/richfaces/richfaces-qa/blob/master/metamer/ftest/src/test/java/org/richfaces/tests/metamer/ftest/a4jPush/TestTwoPush.java#L60].
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 3 months
[JBoss JIRA] (RFPL-1594) Listener invocation in a4jAjaxBean.attributes.listener doesn't work correctly
by Jiří Štefek (JIRA)
[ https://issues.jboss.org/browse/RFPL-1594?page=com.atlassian.jira.plugin.... ]
Jiří Štefek resolved RFPL-1594.
-------------------------------
Resolution: Done
> Listener invocation in a4jAjaxBean.attributes.listener doesn't work correctly
> -----------------------------------------------------------------------------
>
> Key: RFPL-1594
> URL: https://issues.jboss.org/browse/RFPL-1594
> Project: RichFaces Planning
> Issue Type: Bug
> Components: QE
> Environment: RichFaces 4.1.0.20110805-M1 r.10246d45dddd1d2aa2034317d5a832394cc919f9
> Metamer 4.1.0.20110805-M1 r.22604
> Apache MyFaces JSF-2.1 Core Impl 2.1.1, Mojarra 2.0.3
> JBoss AS 6.0.0.Final
> Java(TM) SE Runtime Environment 1.6.0_26-b03 @Linux
> Chrome 12.0.742.112 @ Linux i686
> Reporter: Ján Jamrich
> Assignee: Jiří Štefek
> Fix For: 4.5.2.Final
>
>
> Listener invocation for Attributes.listener(AjaxBehaviorEvent event) is called correctly, but then this method try invoke appropriate method on bound listener. But seems that these listener are not invoked/ or invoked correctly, because there are no expected action performed.
> For example, in a4jAjax examples are many h inputs with aj4:ajax, and "listener" attribute set to #{a4jAjaxBean.attributes.listener}, with list of available listener defined in resources/org/richfaces/tests/metamer/bean/a4j/A4jAjaxbean.properties. But when change value in input, there is only log record in phaseInfo, but not expected value change - such as change case when set toUpperCase listener.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 3 months
[JBoss JIRA] (RFPL-1594) Listener invocation in a4jAjaxBean.attributes.listener doesn't work correctly
by Jiří Štefek (JIRA)
[ https://issues.jboss.org/browse/RFPL-1594?page=com.atlassian.jira.plugin.... ]
Jiří Štefek updated RFPL-1594:
------------------------------
Fix Version/s: 4.5.2.Final
> Listener invocation in a4jAjaxBean.attributes.listener doesn't work correctly
> -----------------------------------------------------------------------------
>
> Key: RFPL-1594
> URL: https://issues.jboss.org/browse/RFPL-1594
> Project: RichFaces Planning
> Issue Type: Bug
> Components: QE
> Environment: RichFaces 4.1.0.20110805-M1 r.10246d45dddd1d2aa2034317d5a832394cc919f9
> Metamer 4.1.0.20110805-M1 r.22604
> Apache MyFaces JSF-2.1 Core Impl 2.1.1, Mojarra 2.0.3
> JBoss AS 6.0.0.Final
> Java(TM) SE Runtime Environment 1.6.0_26-b03 @Linux
> Chrome 12.0.742.112 @ Linux i686
> Reporter: Ján Jamrich
> Assignee: Jiří Štefek
> Fix For: 4.5.2.Final
>
>
> Listener invocation for Attributes.listener(AjaxBehaviorEvent event) is called correctly, but then this method try invoke appropriate method on bound listener. But seems that these listener are not invoked/ or invoked correctly, because there are no expected action performed.
> For example, in a4jAjax examples are many h inputs with aj4:ajax, and "listener" attribute set to #{a4jAjaxBean.attributes.listener}, with list of available listener defined in resources/org/richfaces/tests/metamer/bean/a4j/A4jAjaxbean.properties. But when change value in input, there is only log record in phaseInfo, but not expected value change - such as change case when set toUpperCase listener.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 3 months