Skip to content

Provide test coverage at integration level for network errors #244

Closed
@astratto

Description

@astratto

We should have integration tests to cover connection failures/timeouts.

One possible approach is to use iptables to drop/reject packets.

For instance, to test that a socket connect timeout is triggered, something like
iptables -A OUTPUT -p tcp -j DROP --dport 389 can be used.

We should investigate how to play with this on Travis.

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