Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,10 @@ def run_pfcwd_basic_test(api,

if trigger_pfcwd:
""" Large enough to trigger PFC watchdog """
pfc_storm_dur_sec = ceil(detect_time_sec + poll_interval_sec + 0.1)
pfc_storm_dur_sec = 4 * ceil(detect_time_sec + poll_interval_sec + 0.1)
Copy link
Contributor

Choose a reason for hiding this comment

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

could you pls explain why this change is needed? I believe it's passing in T0/T1 with this settings.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@sdszhang , we discussed internally. Based on the discussion, I will try this script without changes, and see how close it gets to failure. I will update the PR based on the findings.


flow1_delay_sec = restore_time_sec / 2 + WARM_UP_TRAFFIC_DUR
flow1_dur_sec = pfc_storm_dur_sec
flow1_dur_sec = pfc_storm_dur_sec / 2

""" Start data traffic 2 after PFC is restored """
flow2_delay_sec = pfc_storm_dur_sec + restore_time_sec + \
Expand Down