Skip to content

Custom error handlers interrupts the amplification #97

Description

@mabdi

The trait TTaskExecutor (traits or classes like it) opens custom exceptionHandler.

executeTask: aTaskExecution
	[ self noteBusy. aTaskExecution value. self noteFree ]
		on: Error
		do: [ :error | self exceptionHandler handleException: error ]

The tests using these classes may interrupted and never be finished.
(TKTLocalProcessTaskRunner uses TTaskExecutor)

testCacheSizeFor_amp_A78
        | cache requestedSize tmp_yxDSiRuEgR1 tmp_Wh1LQxSblB2 tmp_P3cDMPRpKV3 tmp_CQXiNqyAMj4 tmp_Gka6xX3Oxw5 tmp_MfFvl0EPML6 tmp_W3fLy0ggoO7 tmp_pxmJXKfM6v8 |
        cache := BlLocalImageCache new.
        tmp_yxDSiRuEgR1 := cache taskitRunner: TKTLocalProcessTaskRunner new.
        tmp_P3cDMPRpKV3 := cache defaultImageSizes.
        tmp_Wh1LQxSblB2 := tmp_P3cDMPRpKV3 second.
        requestedSize := tmp_Wh1LQxSblB2 - 1.
        tmp_CQXiNqyAMj4 := cache defaultImageSizes.
        requestedSize := tmp_CQXiNqyAMj4 second.
        tmp_MfFvl0EPML6 := cache defaultImageSizes.
        cache initHousekeeping.
        tmp_Gka6xX3Oxw5 := tmp_MfFvl0EPML6 third.
        requestedSize := tmp_Gka6xX3Oxw5 + 1.
        tmp_pxmJXKfM6v8 := cache defaultImageSizes.
        tmp_W3fLy0ggoO7 := tmp_pxmJXKfM6v8 last.
        requestedSize := tmp_W3fLy0ggoO7 + 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is neededinvalidThis doesn't seem right

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions