Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

root/plugins/deadlock_retry/Rakefile

Revision 2808, 179 bytes (checked in by david, 3 years ago)

Deadlock retry allows the database adapter (currently only tested with the MySQLAdapter) to retry transactions that fall into deadlock. It will retry such transactions three times before finally failing.

Line 
1 require 'rake'
2 require 'rake/testtask'
3
4 desc "Default task"
5 task :default => [ :test ]
6
7 Rake::TestTask.new do |t|
8   t.test_files = Dir["test/**/*_test.rb"]
9   t.verbose = true
10 end
Note: See TracBrowser for help on using the browser.