mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Merge pull request #98584 from mattfenwick/issue-98581
improve hairpin warning message for network policy tests
This commit is contained in:
commit
573a6a9faa
@ -173,7 +173,7 @@ func (r *Reachability) Summary(ignoreLoopback bool) (trueObs int, falseObs int,
|
||||
func (r *Reachability) PrintSummary(printExpected bool, printObserved bool, printComparison bool) {
|
||||
right, wrong, ignored, comparison := r.Summary(ignoreLoopback)
|
||||
if ignored > 0 {
|
||||
framework.Logf("warning: the results of %d pod->pod cases have been ignored", ignored)
|
||||
framework.Logf("warning: this test doesn't take into consideration hairpin traffic, i.e. traffic whose source and destination is the same pod: %d cases ignored", ignored)
|
||||
}
|
||||
framework.Logf("reachability: correct:%v, incorrect:%v, result=%t\n\n", right, wrong, wrong == 0)
|
||||
if printExpected {
|
||||
|
Loading…
Reference in New Issue
Block a user