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

[MERGE][FIX] test(_mass)_mail: simulate email sending in performance tests #28027

Closed
wants to merge 2 commits into from

Conversation

tde-banana-odoo
Copy link
Contributor

@tde-banana-odoo tde-banana-odoo commented Oct 22, 2018

Commit 356a421 introduced a hook to avoid sending emails while
installing application data. However we have to carefully re-activate email
sending in tests that depend on them especially performance tests.

Performance counters are updated to match current runbot state for both
community and enterprise.

Mass mailing performance class is made a direc child of TransactionCase
to ease manipulation and be able to use patch.

This merge is related to task ID 1902307 and is mainly a fix and better use
of odoo-dev@356a421.

@robodoo robodoo added seen 🙂 CI 🤖 Robodoo has seen passing statuses labels Oct 22, 2018
@C3POdoo C3POdoo added the RD research & development, internal work label Oct 23, 2018
@tde-banana-odoo
Copy link
Contributor Author

@robodoo r+

@tde-banana-odoo
Copy link
Contributor Author

@robodoo r- en fait

@robodoo robodoo removed the r+ 👌 label Oct 23, 2018
Commit 356a421 introduced a hook to avoid sending emails while
installing application data. However we have to carefully re-activate email
sending in tests that depend on them especially performance tests.

This commit also update performance counters to match the current state of
counters as it was not totally updated.

Commit linked to task ID 1902307.
…tionCase

It eases manipulation and lessen overhead. Performance tests should be self
contained as much as possible.

Commit linked to task ID 1902307.
@robodoo robodoo removed the CI 🤖 Robodoo has seen passing statuses label Oct 23, 2018
@tde-banana-odoo
Copy link
Contributor Author

@robodoo r+

@robodoo robodoo added r+ 👌 CI 🤖 Robodoo has seen passing statuses labels Oct 23, 2018
robodoo added a commit that referenced this pull request Oct 23, 2018
…tests

Commit 356a421 introduced a hook to avoid sending emails while
installing application data. However we have to carefully re-activate email
sending in tests that depend on them especially performance tests.

Performance counters are updated to match current runbot state for both
community and enterprise.

Mass mailing performance class is made a direc child of TransactionCase
to ease manipulation and be able to use patch.

This merge is related to task ID 1902307 and is mainly a fix and better use
of odoo-dev@356a421.

closes #28027
@robodoo
Copy link
Contributor

robodoo commented Oct 23, 2018

Merged, thanks!

@robodoo robodoo closed this Oct 23, 2018
@tde-banana-odoo tde-banana-odoo deleted the 12.0-tests-tde branch December 7, 2018 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI 🤖 Robodoo has seen passing statuses RD research & development, internal work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants