-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Fix old tests with while true
#12418
Fix old tests with while true
#12418
Conversation
Just drop `while true` stuff. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Just drop `while true` stuff. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Just drop `while true` stuff. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
bgp_pcount_adjust() is called only when calling bgp_path_info_set_flag(). Before this patch the pcount is not advanced before checking for overflow. Additionally, print: ``` [RZMGQ-A03CG] 192.168.255.1(r1) rcvd UPDATE about 172.16.255.254/32 IPv4 unicast -- DENIED due to: maximum-prefix overflow ``` Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Continuous Integration Result: SUCCESSFULContinuous Integration Result: SUCCESSFULCongratulations, this patch passed basic tests Tested-by: NetDEF / OpenSourceRouting.org CI System CI System Testrun URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-8638/ This is a comment from an automated CI system. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks mostly good to me, please see comments.
Should we decrease the check frequency? The 0.5
wait before retries seems too fast. How about 1 second instead?
tests/topotests/bgp_maximum_prefix_invalid_update/test_bgp_maximum_prefix_invalid_update.py
Outdated
Show resolved
Hide resolved
tests/topotests/bgp_maximum_prefix_invalid_update/test_bgp_maximum_prefix_invalid_update.py
Outdated
Show resolved
Hide resolved
Drop `grep'ing` stuff, and check JSON data if notification was send or not. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Continuous Integration Result: SUCCESSFULCongratulations, this patch passed basic tests Tested-by: NetDEF / OpenSourceRouting.org CI System CI System Testrun URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-8654/ This is a comment from an automated CI system. |
No description provided.