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

Reduce number of records in pagination tests #3845

Merged
merged 1 commit into from
Nov 10, 2019
Merged

Conversation

javierm
Copy link
Member

@javierm javierm commented Nov 10, 2019

Objectives

  • Make our test suite faster

@javierm javierm added the Specs label Nov 10, 2019
@javierm javierm self-assigned this Nov 10, 2019
@javierm javierm added this to Reviewing in Roadmap via automation Nov 10, 2019
Creating more than 25 records isn't necessary to test pagination; we can
stub the number of records per page in a test.

On my machine we save about one second per test with these changes.
@javierm javierm merged commit 4b41ccf into master Nov 10, 2019
Roadmap automation moved this from Reviewing to Release 1.1.0 Nov 10, 2019
@javierm javierm deleted the pagination_tests branch November 10, 2019 15:58
smarques pushed a commit to venetochevogliamo/consul that referenced this pull request Apr 29, 2020
Reduce number of records in pagination tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Roadmap
  
Release 1.1.0
Development

Successfully merging this pull request may close these issues.

None yet

1 participant