@@ -235,18 +235,17 @@ func TestLRP(t *testing.T) {
235235
236236 t .Logf ("LRP Test Completed" )
237237
238- t .Logf ("Negative LRP Test Starting" )
238+ t .Logf ("LRP Lifecycle Test Starting" )
239239
240- // Run negative LRP test
241- testNegativeLRP (t , ctx , * selectedPod , kubeDNS )
240+ // Run LRP Lifecycle test
241+ testLRPLifecycle (t , ctx , * selectedPod , kubeDNS )
242242
243- t .Logf ("Negative LRP Test Completed" )
243+ t .Logf ("LRP Lifecycle Test Completed" )
244244}
245245
246- // testNegativeLRP performs testing of Local Redirect Policy functionality
246+ // testLRPLifecycle performs testing of Local Redirect Policy functionality
247247// including pod restarts, resource recreation, and cilium command validation
248- // This focuses on negative testing scenarios and edge cases
249- func testNegativeLRP (t * testing.T , ctx context.Context , clientPod corev1.Pod , kubeDNS string ) {
248+ func testLRPLifecycle (t * testing.T , ctx context.Context , clientPod corev1.Pod , kubeDNS string ) {
250249 config := kubernetes .MustGetRestConfig ()
251250 cs := kubernetes .MustGetClientset ()
252251
@@ -329,7 +328,6 @@ func testNegativeLRP(t *testing.T, ctx context.Context, clientPod corev1.Pod, ku
329328 t .Log ("Step 9: Final cilium validation - ensuring LRP is still active after node-local-dns restart" )
330329 validateCiliumLRP (t , ctx , cs , config )
331330
332- t .Log ("Negative LRP test completed successfully" )
333331}
334332
335333// validateCiliumLRP checks that LRP is properly configured in cilium
0 commit comments