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

Use a short timeout when polling for packets. #165

Merged
merged 1 commit into from
Mar 5, 2015

Conversation

wilmo119
Copy link

@wilmo119 wilmo119 commented Mar 5, 2015

Reviewer: trivial

@bsn-abat
Copy link

bsn-abat commented Mar 5, 2015

ABAT: START_MERGE: Log file at http://vbs22/abat/2015.03.05.0102-m.oftest.master/abat.log

@bsn-abat
Copy link

bsn-abat commented Mar 5, 2015

ABAT: ACCEPT: Successfully merged

In case you want to see the build log, check out :
Log file at http://vbs22/abat/2015.03.05.0102-m.oftest.master/abat.log
/cc

@bsn-abat bsn-abat merged commit 627b28c into floodlight:master Mar 5, 2015
bsn-abat pushed a commit that referenced this pull request Mar 5, 2015
Use a short timeout when polling for packets. (#165)
@rlane
Copy link
Contributor

rlane commented Mar 5, 2015

What was the reason for this change?

@wilmo119
Copy link
Author

wilmo119 commented Mar 5, 2015

There are a number of bigtap tests that iterate over all the ports on a switch, send a packet on each port, and expect a packet to be received on the next port. When the oftest polls for the packet it expects to receive, the arrival of the packet seems to be delayed, causing the poll (without timeout) to miss the packet.

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

Successfully merging this pull request may close these issues.

3 participants