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

[network] Fix the failing test #7982

Merged
merged 1 commit into from
Jun 23, 2020
Merged

Conversation

lolodomo
Copy link
Contributor

Fix #7980

Signed-off-by: Laurent Garnier [email protected]

@TravisBuddy
Copy link

Travis tests were successful

Hey @lolodomo,
we found no major flaws with your code. Still you might want to look at this logfile, as we usually suggest some optional improvements.

@cpmeister
Copy link
Contributor

How does this change fix the test?

@lolodomo
Copy link
Contributor Author

The expiry is set to 100 ms. If we wait 100 ms in the test, it looks like sometimes it is not enough to trigger the expiration. Waiting 101 ms solves the problem.

@lolodomo
Copy link
Contributor Author

Look at the code of the test and this will be clearer than my try to explain.

@cpmeister cpmeister added the test label Jun 23, 2020
@cpmeister cpmeister merged commit e9d2dd8 into openhab:2.5.x Jun 23, 2020
@cpmeister cpmeister added this to the 2.5.7 milestone Jun 23, 2020
@lolodomo lolodomo deleted the network_test branch June 23, 2020 21:30
knikhilwiz pushed a commit to knikhilwiz/openhab2-addons that referenced this pull request Jul 12, 2020
CSchlipp pushed a commit to CSchlipp/openhab-addons that referenced this pull request Jul 26, 2020
Fix openhab#7980

Signed-off-by: Laurent Garnier <[email protected]>
Signed-off-by: CSchlipp <[email protected]>
MPH80 pushed a commit to MPH80/openhab-addons that referenced this pull request Aug 3, 2020
Fix openhab#7980

Signed-off-by: Laurent Garnier <[email protected]>
Signed-off-by: MPH80 <[email protected]>
andrewfg pushed a commit to andrewfg/openhab-addons that referenced this pull request Aug 31, 2020
andrewfg pushed a commit to andrewfg/openhab-addons that referenced this pull request Aug 31, 2020
andrewfg pushed a commit to andrewfg/openhab-addons that referenced this pull request Aug 31, 2020
andrewfg pushed a commit to andrewfg/openhab-addons that referenced this pull request Aug 31, 2020
DaanMeijer pushed a commit to DaanMeijer/openhab-addons that referenced this pull request Sep 1, 2020
Fix openhab#7980

Signed-off-by: Laurent Garnier <[email protected]>
Signed-off-by: Daan Meijer <[email protected]>
markus7017 pushed a commit to markus7017/openhab-addons that referenced this pull request Sep 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[network] Tests failing
3 participants