Commit e6ab5837d392343f936af928608a08c7c81dbe2c
1 parent
f70987cc
Exists in
master
and in
29 other branches
Running xvfb-run with -a option
This way if the X server number is already being used (e.g. by a concurrent xfvb-run execution) it will find the neft available number. Got the ideam from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=573679
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/tasks/test.rake
... | ... | @@ -20,5 +20,5 @@ end |
20 | 20 | |
21 | 21 | desc 'Runs Seleniun acceptance tests' |
22 | 22 | task :selenium do |
23 | - sh "xvfb-run cucumber -p selenium --format #{ENV['CUCUMBER_FORMAT'] || 'progress'}" | |
23 | + sh "xvfb-run -a cucumber -p selenium --format #{ENV['CUCUMBER_FORMAT'] || 'progress'}" | |
24 | 24 | end | ... | ... |