Skip to content

Commit

Permalink
Add comment regarding slow acceptance test
Browse files Browse the repository at this point in the history
  • Loading branch information
clekstro committed Jul 8, 2019
1 parent ee58257 commit 89d1f1d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/acceptance/home/sidebar-tabs-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ module('Acceptance | home/sidebar tabs', function (hooks) {

let startedAt = new Date();

// TODO: Currently, we make the same request *30* times, which slows the test down
// significantly. Need to investigate why.

// the default mirage limit is 10, so if we create 15 jobs for each queued and
// started lists, the app code will have to do 2 queries
server.createList('job', 15, { state: 'created', repository: this.repo, commit: this.commit, build: this.build });
Expand Down

0 comments on commit 89d1f1d

Please sign in to comment.