kube-proxy: rename iptables unit test to match tested function name.

Signed-off-by: Nadia Pinaeva <n.m.pinaeva@gmail.com>
This commit is contained in:
Nadia Pinaeva 2024-03-29 15:56:18 +01:00
parent 20bd3dd774
commit 1c7b366182

View File

@ -1364,9 +1364,9 @@ func runPacketFlowTests(t *testing.T, line int, ipt *iptablestest.FakeIPTables,
} }
} }
// This tests tracePackets against static data, just to make sure we match things in the // This tests tracePacket against static data, just to make sure we match things in the
// way we expect to. // way we expect to.
func TestTracePackets(t *testing.T) { func TestTracePacket(t *testing.T) {
rules := dedent.Dedent(` rules := dedent.Dedent(`
*filter *filter
:INPUT - [0:0] :INPUT - [0:0]