Bug 816629

Summary: Torquebox: 'Task concurrency > backgroundable tasks' test fails on OpenJDK
Product: [Retired] JBoss Enterprise WFK Platform 2 Reporter: Oliver Kišš <okiss>
Component: TorqueBoxAssignee: Bob McWhirter <bmcwhirt>
Status: CLOSED CURRENTRELEASE QA Contact: Oliver Kišš <okiss>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 2.0.0.ER4CC: kpiwko, mnovotny, oskutka, tcrawley
Target Milestone: ---   
Target Release: 2.0.0.ER6   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-05-30 10:47:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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