Skip to content

Complete test_server_task. #1310

@janiversen

Description

@janiversen

We need to test:

  • async
    • server start

    • client start

    • client stop

    • server stop

    • server start

    • client start

    • server stop

    • server start

    • client reconnect!!

    • client stop

    • server stop

And the same for sync.

This should be done for all transport types:
- tcp
- tls
- udp
- serial
- unix

For async we should also test multiple servers.

We do not support multiple sync servers (although it seems to work).

This should work on all platforms (unix is not supported for windows and should cause an exception).

Versions

  • Python:
  • OS:
  • Pymodbus:
  • Modbus Hardware (if used):

Pymodbus Specific

  • Server: tcp/rtu/ascii - sync/async
  • Client: tcp/rtu/ascii - sync/async

Description

What were you trying, what has happened, what went wrong, and what did you expect?

Code and Logs

# code and logs here.

# please use the following to format logs when posting them here
import pymodbus
pymodbus.pymodbus_apply_logging_config()

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions