I'm working on packaging rubygem-riddle and rubygem-thinking-sphinx. Both gems are designed run the rspec test suites against a live MySQL server.
Has anyone seen this before? Is it ok to try to do this in mock / koji?
- Ken
Dne 15.2.2013 17:44, Ken Dreyer napsal(a):
I'm working on packaging rubygem-riddle and rubygem-thinking-sphinx. Both gems are designed run the rspec test suites against a live MySQL server.
Has anyone seen this before? Is it ok to try to do this in mock / koji?
I am not MySQL expert, but I am afraid it might be hard. Have you tried to run the test suite against Sqlite instead? That would be more lightweight approach.
Vit
Thanks Vit for the response. I ended up trying to start MySQL manually inside %check, and it did not work out. I've commented out my work-in-progress here [1] .
I briefly considered SQLite, but the problem is that the gem itself only supports MySQL or Postgresql [2]. So I'd need to write SQLite support, and I'm afraid that's beyond my expertise :-/
- Ken
[1] http://fedorapeople.org/cgit/ktdreyer/public_git/rubygem-thinking-sphinx.git... [2] https://groups.google.com/d/topic/thinking-sphinx/JER_o0OiiuU/discussion
On Mon, Feb 18, 2013 at 2:36 AM, Vít Ondruch vondruch@redhat.com wrote:
Dne 15.2.2013 17:44, Ken Dreyer napsal(a):
I'm working on packaging rubygem-riddle and rubygem-thinking-sphinx. Both gems are designed run the rspec test suites against a live MySQL server.
Has anyone seen this before? Is it ok to try to do this in mock / koji?
I am not MySQL expert, but I am afraid it might be hard. Have you tried to run the test suite against Sqlite instead? That would be more lightweight approach.
Vit _______________________________________________ ruby-sig mailing list ruby-sig@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/ruby-sig
ruby-sig@lists.fedoraproject.org