Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: Yun-Tang Hsu <[email protected]>
  • Loading branch information
Yun-Tang Hsu committed Dec 10, 2023
1 parent f1636c9 commit dccfc25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/flowaggregator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1515,10 +1515,10 @@ func getRecordsFromOutput(t *testing.T, output, labelFilter, src, dst, srcPort s
if len(split) < 2 {
continue
}
split2 := strings.Split(split[1], "I1209")
split2 := strings.Split(split[1], "I1210")
result := strings.ReplaceAll(split2[0], "\\n", " ")
connectionMap["sourcePodLabels"+result] += 1
if connectionMap["sourcePodLabels"+result] > highestNumber {
if connectionMap["sourcePodLabels"+result] >= highestNumber {
highestNumber = connectionMap["sourcePodLabels"+result]
mostRecord = recordSlice
}
Expand Down

0 comments on commit dccfc25

Please sign in to comment.