Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid packet-in generates confusing message #38

Open
ghost opened this issue Feb 7, 2013 · 0 comments
Open

Invalid packet-in generates confusing message #38

ghost opened this issue Feb 7, 2013 · 0 comments

Comments

@ghost
Copy link

ghost commented Feb 7, 2013

When running the basic.PacketIn test in relax mode, if we get a packet-in with data that doesn't correspond to the expected, the test fails with:

AssertionError: Packet in message not received on port 1

When it should be more like:

AssertionError: Response packet does not match send packet for port 1

This is happening because we have a packet-in, but it's not valid, so it's being ignored (relax mode). If there isn't another (valid) packet-in, the first message shows up.

I know it's technically not a wrong behavior, but a clearer message or warning such as "Received packet in message with unexpected data" could be helpful (I lost some time debugging what was going on :D).

macauleycheng pushed a commit to macauleycheng/oftest that referenced this issue Feb 4, 2021
* Add multiple tenant test for VRF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants