Skip to content

✅ test: Add missing mock for subscribe_port_speed_change_event in Sfp…#26

Merged
scjuang merged 1 commit into
edge-core:202311.Xfrom
dev101org:202311.X
Mar 20, 2026
Merged

✅ test: Add missing mock for subscribe_port_speed_change_event in Sfp…#26
scjuang merged 1 commit into
edge-core:202311.Xfrom
dev101org:202311.X

Conversation

@jeonsi
Copy link
Copy Markdown

@jeonsi jeonsi commented Mar 5, 2026

…StateUpdateTask test

The test_SfpStateUpdateTask_task_run_stop test lacks a mock for subscribe_port_speed_change_event, which can cause test failures when the function attempts to subscribe to actual port speed change events. This aligns with the existing mock for subscribe_port_config_change.

Description

Motivation and Context

How Has This Been Tested?

Additional Information (Optional)

…StateUpdateTask test

The test_SfpStateUpdateTask_task_run_stop test lacks a mock for
subscribe_port_speed_change_event, which can cause test failures when the function
attempts to subscribe to actual port speed change events. This aligns with the
existing mock for subscribe_port_config_change.
Copy link
Copy Markdown

@CharlieChenEC CharlieChenEC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@scjuang scjuang merged commit 7035c7a into edge-core:202311.X Mar 20, 2026
1 check passed
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