Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixtures taking too long to load #4

Closed
GoogleCodeExporter opened this issue Aug 24, 2015 · 3 comments
Closed

Fixtures taking too long to load #4

GoogleCodeExporter opened this issue Aug 24, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?

1. Create a simple Java program to load some fixtures
2. Run it
3. For just 50 rows, it takes more than 1 minute.

What is the expected output? What do you see instead?

Hey, need to be very faster than this. :-)
Check the output for 50 rows:
---------------------------------------------
loading fixtures Tue Jun 15 12:27:54 BRT 2010
fixtures loaded Tue Jun 15 12:29:16 BRT 2010
---------------------------------------------

What version of the product are you using? On what operating system?

Sun Java 1.6.0_20, dbAssert 0.9.2 on GNU/Linux Ubuntu 10.04

Please provide any additional information below.

I thought there were some problems with JUnit integration, then I wrote another 
file with just dbAssert stuff, but it is still slow. :-(
I also use pure Jyaml to load the fixture data, and it just took 1 second.

Original issue reported on code.google.com by eustaquiorangel on 15 Jun 2010 at 3:32

Attachments:

@GoogleCodeExporter
Copy link
Author

Ummm... interesting. I'll see what can be done.

Original comment by dgline...@gmail.com on 13 Aug 2010 at 6:06

@GoogleCodeExporter
Copy link
Author

Original comment by dgline...@gmail.com on 13 Aug 2010 at 6:09

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

For all datasource related operations db connection is re-used.
To clean up resources and close connection use: dbSource.close() method in you 
teardown method.

Original comment by dgline...@gmail.com on 14 Aug 2010 at 4:04

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant