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

Some functional tests run very slow, causing travis to abort the test #61

Open
khandpur opened this issue Mar 29, 2016 · 4 comments
Open

Comments

@khandpur
Copy link
Collaborator

From https://travis-ci.org/google/EarlGrey/jobs/118931370

The following tests take an enormous amount of time to complete:

  1. testBasicInteractionWithViews (31.436 seconds)
  2. testActionErrorAPI (23.584 seconds)
  3. testEmailTyping (81.767 seconds)
  4. testLetterTyping (26.599 seconds)
  5. testNumbersTyping (38.642 seconds)
  6. testTypingWordsThatTriggerAutoCorrect (154.971 seconds)
  7. testUIKeyboardTypeEmailAddress (46.818 seconds)
  8. testUIKeyboardTypeTwitter (61.335 seconds)
  9. testUIKeyboardTypeURL (75.466 seconds)
  10. testUpperCaseLettersTyping (124.599 seconds)
  11. testInteractingWithElementsAfterRotation (53.374 seconds)
  12. testScrollToTopWorksWithNegativeInsets (38.443 seconds)
  13. testScrollToTopWorksWithPositiveInsets (39.259 seconds)
  14. testJavaScriptExecution (49.297 seconds)
@khandpur
Copy link
Collaborator Author

khandpur commented Apr 6, 2016

@bootstraponline FYI, these should help with test run times on Travis.

@bootstraponline
Copy link
Contributor

Do you know how long Travis takes to compile EarlGrey?

@khandpur
Copy link
Collaborator Author

khandpur commented Apr 6, 2016

From https://travis-ci.org/google/EarlGrey/jobs/121109717, the whole compilation + testing process takes
1800 seconds ~ 30 mins and testing process itself takes 1692.710 seconds.

Deducing compilation time from that:
1800-1700 = 100 seconds or 1 minute and 40 seconds.

@bootstraponline
Copy link
Contributor

👍

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

2 participants