The Trunk: Tests-ct.517.mcz
| Newsgroups | gmane.comp.lang.smalltalk.squeak.general |
|---|---|
| Message-ID | <[email protected]> |
Christoph Thiede uploaded a new version of Tests to project The Trunk:
http://source.squeak.org/trunk/Tests-ct.517.mcz
==================== Summary ====================
Name: Tests-ct.517
Author: ct
Time: 27 April 2026, 7:04:35.958673 pm
UUID: 0a2a523a-2789-4803-9827-4ecbe90cf8c1
Ancestors: Tests-ct.516
Marks testForceChangesToDiskRobustness as an expected failure on Linux for now to preserve the healthiness of the image.
=============== Diff against Tests-ct.516 ===============
Item was added:
+ ----- Method: SmalltalkImageTest>>expectedFailures (in category 'as yet unclassified') -----
+ expectedFailures
+
+ ^ super expectedFailures ,
+ (Smalltalk platformName = 'unix'
+ ifTrue: [#(testForceChangesToDiskRobustness)]
+ ifFalse: [#()])!
Item was changed:
----- Method: SmalltalkImageTest>>testForceChangesToDiskRobustness (in category 'tests') -----
testForceChangesToDiskRobustness
"Interrupting #forceChangesToDisk must always keep the SourceFiles opened and intact."
<timeout: 11 "seconds">
<fatal "regression test!! Unless this bug is fixed, this may damage your image.">
+ Smalltalk platformName = 'unix' ifTrue: [self error: 'Aborting, there is a known bug with dangling file descriptors on Linux that would likely (though not always/immediately) lock up the changes file of your image. See: https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/732'].
+
50 timesRepeat:
[[[Smalltalk forceChangesToDisk] repeat] valueWithin: 0.1 seconds onTimeout: []].
self shouldnt: [Smalltalk logChange: ('Test from {1}' format: {self})] raise: Error.!
Squeak-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]