fix(E2E-minion): E2E-minion-crash-during-parallel-iPerf #50
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Signed-off-by: Shrusti-W [email protected]
Prerequisites
Description
Introduced folly synchronization to iperfProcesses_ , iperfAvailablePorts_ and pingProcesses.
Modified the files
src/terragraph-e2e/e2e/minion/TrafficApp.cpp
src/terragraph-e2e/e2e/minion/TrafficApp.h
Test Plan
1.Tested iperf using the command
"tg traffic iperf start -s <source_mac> -d <dest_mac> -J"
2.Tested iperf by initiating 6 parallel sessions using the command
"tg traffic iperf start -s <source_mac> -d <dest_mac> -J"
3.Tested iperf for both TCP and UDP protocols using the command
UDP:"tg traffic iperf start -s <source_mac> -d <dest_mac> -J -p udp"
TCP:"tg traffic iperf start -s <source_mac> -d <dest_mac> -J -p tcp"
4.Tested iperf for duration of 5 hours to check the stability.
5.Tested ping using the command
"tg traffic ping start -s <source_mac> -d <dest_mac>"
6.Tested parallel ping by initiating 5 parallel session for 50 packets using the command
"tg traffic ping start -s <source_mac> -d <dest_mac> -c 50"