Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Testing in a threads #37

@zellerin

Description

@zellerin

I have a test structured as follows:

  • start a server
  • run client in a separate thread (bt:make-thread...)
  • do fiasco tests in the (client) thread
  • before terminating the client thread, client lets server know it should close.

Unfortunately, at least in sbcl, the tests in the client/other thread are not "counted" in reports - (0 assertions, 0 failed, 0 errors, 0 expected). Instead, I get few "WARNING: Condition FIASCO::IS-ASSERTION was signalled." warnings.

I guess that this might be due to conditions based implementation, and sbcl not sharing restarts/handlers/whatever with the child threads.

I am not sure if I do something wrong, if it can be easily fixed or if it is one of "do not do it" item - any suggestion?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions