Skip to content

Expected connection and disconnection #1

@DanielOaks

Description

@DanielOaks

Scripts assume that clients:

  1. Connect at the start of the script.
  2. Never disconnect.

This is a bad assumption if we're going to be testing messages like QUIT, features like MONITOR and WATCH, and other sorts of things.

To do this, add a new client definition marker (!? or something, maybe?) that marks the given client will be connected in the future. Also mark a way to connect and disconnect clients. Maybe > to connect 'em, < to disconnect 'em, and <? to say 'process incoming messages until the client disconnects'.

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