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

API tests become slower at each run #70

Open
bergie opened this issue Dec 5, 2011 · 1 comment
Open

API tests become slower at each run #70

bergie opened this issue Dec 5, 2011 · 1 comment

Comments

@bergie
Copy link
Member

bergie commented Dec 5, 2011

On first run with a fresh database, the API tests are really fast (1min 10sec on my MacBook Air). But then on each successive run they become slower.

This is probably because some test data (at least repligard table entries) accumulate into the database.

We should clean the DB up, or ensure it is a new one between runs.

@bergie
Copy link
Member Author

bergie commented Dec 5, 2011

After the first run (1:20), the database contains:

  • 2361 repligard entries
  • 5 blobs
  • 17 midgard_nodes
  • 43 midgard_node_properties

After second run:

  • 4720 repligard entries

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

No branches or pull requests

1 participant