Bug 816629 - Torquebox: 'Task concurrency > backgroundable tasks' test fails on OpenJDK
Summary: Torquebox: 'Task concurrency > backgroundable tasks' test fails on OpenJDK
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise WFK Platform 2
Classification: Retired
Component: TorqueBox
Version: 2.0.0.ER4
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 2.0.0.ER6
Assignee: Bob McWhirter
QA Contact: Oliver Kišš
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-26 14:35 UTC by Oliver Kišš
Modified: 2015-08-02 23:42 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-05-30 10:47:27 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker TORQUE-793 0 Major Closed Task concurrency > backgroundable tasks test fails on OpenJDK 2012-11-05 16:47:14 UTC

Description Oliver Kišš 2012-04-26 14:35:23 UTC
Description of problem:
Task concurrency > backgroundable tasks test fails on OpenJDK 1.6.0_22 in Torquebox 2.0.1.

This test does pass on Sun JDK (1.6.0_20 and 1.6.0_26)

RSpec report extract:

task concurrency
backgroundable tasks
it should behave like concurrent processors
should have concurrent processors 
expected #has_content?("tasks fired") to return true, got false
./spec/task_concurrency_spec.rb:27:in `(root)'
./target/rspec-runner.rb:97:in `(root)'
-e:1:in `(root)'
25 path = "/task-concurrency?#{@type}" 
26 visit path
27 page.should have_content('tasks fired')
28 responses = Set.new
29 100.times do
30# gem install syntax to get syntax highlighting


Additional info:
https://issues.jboss.org/browse/TORQUE-793

Comment 1 tcrawley 2012-05-01 13:34:13 UTC
This test passes for me using OpenJDK 1.6.0_24. We do occasionally get intermittent failures on some specs. Can you run it again and see if it fails? If so, can you attach the server.log (integration-tests/target/integ-dist/jboss/standalone/log/server.log)? If you don't want to run all of the integs, you can run this one in isolation via 'mvn install -Dspec=spec/task_concurrency_spec.rb'.

Comment 2 JBoss JIRA Server 2012-05-21 14:15:00 UTC
Bob McWhirter <bmcwhirt> updated the status of jira TORQUE-793 to Resolved

Comment 3 Marek Novotny 2012-05-29 15:48:56 UTC
Oliver, could you rerun the tests and report back if that still fails ?

Comment 4 Oliver Kišš 2012-05-30 07:16:03 UTC
Test passes with Torquebox 2.0.3 and EAP6 ER7.

Comment 5 Marek Novotny 2012-05-30 07:24:23 UTC
Oliver, you should verify that with EAP6 ER8.

Comment 6 Oliver Kišš 2012-05-30 10:47:27 UTC
Torquebox 2.0.3.redhat.1 with EAP6 ER8 passes too.

Comment 7 JBoss JIRA Server 2012-07-26 21:58:02 UTC
Benjamin Browning <bbrowning> updated the status of jira TORQUE-793 to Closed


Note You need to log in before you can comment on or make changes to this bug.