Skip to content

potential test issues #1

@ggggggggg

Description

@ggggggggg

motivated by the failure of recent dastard to work with autotune, I looked at the tests here to see if I could identify any red flags. I believe we're currently using the pebbe zmq, so I focused on that test.

This sets the sender high water mark to 1.1 million, when you will send exactly 1 million packets only. That differs from real usage in that we can never have the hwm be above our total number of packets.

publisher.SetSndhwm(1100000)

Here we see the payload is always "Rhubarb", much smaller than the typical tdm payload for autotune of 10k samples

publisher.Send("Rhubarb", 0)

Further, you start from a synchronized point... eg no messages in the queue, get all subscribers connected, then send all messages. In real usage we start with the publisher having already sent enough messages to fill the hwm many times.

Finally, the sender and reciever are using the same package, I suspect the packages is mostly tested against itself. Perhaps there is variation in behavior from package to package that causes issues?

I don't have any proposed actions currently, just wanted to document some differences.

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