Manuscript (Case [Issue]22180) File System - Add error margin to FileReferenceAttributeTests

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Manuscript (Case [Issue]22180) File System - Add error margin to FileReferenceAttributeTests

Pharo Issue Tracker
Manuscript Notification
avatar
Bug in Project:  File System: 1. Pharo Image  •  You are subscribed to this case
Hi Christophe,

Unfortunately I don't have an example to point to. It's happened a few times in my virtualbox windows environment, and once in the CI. The logs are a long gone.

My idea was to modify DiskFileAttributesTestsResources>>setUp to subtract 30 seconds from the beforeCreationTime and add 30 seconds to the afterCreationTime.

This would mean that any small variation in timestamps, up to 30 seconds, e.g. due to caching, would be ignored, but the main purpose of the tests, ensuring that the primitive is basically working and that timezones are being calculated correctly, are still being tested.

Cheers,
Alistair
Priority Priority: 3 – Must Fix Status Status: Working On
Assigned To Assigned to: Everyone Milestone Milestone: Pharo7.0

Go to Case
No longer need updates? Unsubscribe from this case.

Don't want Manuscript notifications anymore? Update your preferences.

Manuscript

_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
https://lists.gforge.inria.fr/mailman/listinfo/pharo-bugtracker