[squeak-dev] The Inbox: KernelTests-jr.383.mcz

Jakob Reschke forums.jakob at resfarm.de
Sun Jun 21 17:46:20 UTC 2020


I am trying to come up with a nice solution for this failing test.

Am So., 21. Juni 2020 um 19:27 Uhr schrieb <commits at source.squeak.org>:
>
> A new version of KernelTests was added to project The Inbox:
> http://source.squeak.org/inbox/KernelTests-jr.383.mcz
>
> ==================== Summary ====================
>
> Name: KernelTests-jr.383
> Author: jr
> Time: 21 June 2020, 7:27:47.560506 pm
> UUID: ecddb3cb-25c9-6c43-a879-59e527a3a9ee
> Ancestors: KernelTests-tonyg.382
>
> Test whether Notifications reject the promises of future sends
>
> In my opinion, they should not.
>
> =============== Diff against KernelTests-tonyg.382 ===============
>
> Item was added:
> + ----- Method: PromiseTest>>testFutureResolutionWithNotification (in category 'tests - future') -----
> + testFutureResolutionWithNotification
> +       | p |
> +       p := [Notification signal: 'should not reject'. 3 + 4] future value.
> +       self assert: (self waitUntil: [p isResolved or: [p isRejected]] orCycleCount: 100).
> +       self assert: p isResolved.
> +       self assert: 7 equals: p value.!
>
>


More information about the Squeak-dev mailing list