Bug #8847
test_store_async échoue parfois (et souvent chez moi)
Start date:
03 November 2015
Due date:
% Done:
0%
Estimated time:
Patch proposed:
Yes
Planning:
Description
Test can fail if atomic_write() is slow, but behaviour is correct. Foobar.keys() will always return a non True value as the file first created by get_new_id(create=True) and not by atomic_write().
Files
Associated revisions
History
Updated by Benjamin Dauvergne over 7 years ago
- File 0001-tests-fix-test_store_async-8847.patch 0001-tests-fix-test_store_async-8847.patch added
- Patch proposed changed from No to Yes
Updated by Benjamin Dauvergne over 7 years ago
- Subject changed from test_store_async sometimes fails to test_store_async échoue parfois (et souvent chez moi)
Updated by Frédéric Péters over 7 years ago
ok (curieux que sur ma vieille machine ça n'échoue jamais).
Rewrapper la description du commit à 80 caractères.
Updated by Benjamin Dauvergne over 7 years ago
C'est pas tellement que qu'atomic_write est lent mais que le thread principal est beaucoup plus rapide et ne "yield" pas une seule fois entre le get_new_id() et le Foobar.get(1).
Updated by Benjamin Dauvergne over 7 years ago
- Status changed from En cours to Résolu (à déployer)
tests: fix test_store_async (#8847)
Test can fail if atomic_write() is slow, but behaviour is correct. Foobar.keys()
will always return a non True value as the file is first created by
get_new_id(create=True) and not by atomic_write().