Skip to content

[Bug][T2]: BGP check is too short in wait_bgp_sessions in duthost_utils #16436

@Javier-Tan

Description

@Javier-Tan

Issue Description

Function wait_bgp_sessions in duthost_utils is too short for T2, causing false errors in tests that use them.

Results you see

Test suite test_mgmt_ipv6_only fixture convert_and_restore_config_db_to_ipv6_only uses wait_bgp_sessions, causing the fixture to fail after removing the ipv4 management from the DUTs and doesn't teardown, causing many other tests to fail alongside it.

Results you expected to see

wait_bgp_sessions should wait longer for T2 to give an accurate result

Is it platform specific

generic

Relevant log output

N/A

Output of show version

N/A

Attach files (if any)

N/A

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions