Tryton - Issues

 

Issue7829

Title Ensure to drop cache on test failure
Priority bug Status resolved
Superseder Nosy List ced, reviewbot, roundup-bot
Type behavior Components trytond
Assigned To ced Keywords review
Reviews 64471002
View: 64471002

Created on 2018-11-01.18:03:09 by ced, last changed by roundup-bot.

Messages
New changeset 7d64a0a6acb7 by Cédric Krier in branch '5.0':
Ensure to rollback and clean cache on exception
https://hg.tryton.org/trytond/rev/7d64a0a6acb7

New changeset e198e1e492bd by Cédric Krier in branch '4.8':
Ensure to rollback and clean cache on exception
https://hg.tryton.org/trytond/rev/e198e1e492bd

New changeset dfec19a7185b by Cédric Krier in branch '4.6':
Ensure to rollback and clean cache on exception
https://hg.tryton.org/trytond/rev/dfec19a7185b

New changeset 30442b53ad19 by Cédric Krier in branch '4.4':
Ensure to rollback and clean cache on exception
https://hg.tryton.org/trytond/rev/30442b53ad19

New changeset 9bacbef1c8fc by Cédric Krier in branch '4.2':
Ensure to rollback and clean cache on exception
https://hg.tryton.org/trytond/rev/9bacbef1c8fc
New changeset 9bca935bb629 by Cédric Krier in branch 'default':
Ensure to rollback and clean cache on exception
https://hg.tryton.org/tryton-env/rev/9bca935bb629
New changeset a1b67354c624 by Cédric Krier in branch 'default':
Ensure to rollback and clean cache on exception
https://hg.tryton.org/trytond/rev/a1b67354c624
review64471002 updated at https://codereview.tryton.org/64471002/#ps1
msg44712 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2018-11-01.18:03:08
When an exception occurs in a test decorated by with_transaction, the cleaning of the cache is not done. This break the unity of the tests and can make other tests to fail.
History
Date User Action Args
2018-11-25 22:23:36roundup-botsetmessages: + msg45022
2018-11-07 19:02:54roundup-botsetmessages: + msg44807
2018-11-07 19:02:47roundup-botsetstatus: testing -> resolved
nosy: + roundup-bot
messages: + msg44806
2018-11-01 18:23:42reviewbotsetnosy: + reviewbot
messages: + msg44713
2018-11-01 18:04:35cedsetstatus: in-progress -> testing
reviews: 64471002
keyword: + review
2018-11-01 18:03:09cedcreate

Showing 10 items. Show all history (warning: this could be VERY long)