Skip to content

When server reloads, any current server method is rerun #11

Open
@mitar

Description

@mitar

If tests are just in running a @runOnServer test, then if the server is restarted at that time (because some test changed), client retries the method, but the test instance does not exist anymore, so errors are thrown in the server side console.

One option would be to find a way to call those methods without them be retried on server restart.

Another is to pass current connection ID when calling the method, so that if the server is retried, an old connection ID will be send as an argument. Server side then checks that the connection ID matches current connection ID before progressing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions