I'm trying to build a simple performance test on a rails 3 app that
operates on a large database (~150GB). We copy production data to our
dev/test setup every night so that we have a realistic environment for
development.
I followed the guide on creating a test and tried to run it using
$ rake test:benchmark
Unbelievably, this tried to drop my test database!!! Fortunately it didn't
have permission to do this and failed. Is there a way to skip this step
and just run the test against the DB as it exists already. From the guide,
it seems like most rails apps have their test data in yaml files or
something but I don't understand how this would scale to a production
environment. Code that works well on 100 or so database rows is not
necessarily going to work well on millions of rows.
Feel free to point me in the direction of relevant documentation and tell
me to RTFM.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/LUHLC6G36-kJ.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en-US.