File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
pkg/cmd/server/kubernetes Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -452,11 +452,12 @@ func (c *NodeConfig) RunProxy() {
452
452
}
453
453
}
454
454
endpointsHandler = hybridProxier
455
-
456
- iptInterface .AddReloadFunc (hybridProxier .Sync )
457
- serviceConfig .RegisterHandler (hybridProxier )
455
+ proxier = hybridProxier
458
456
}
459
457
458
+ iptInterface .AddReloadFunc (proxier .Sync )
459
+ serviceConfig .RegisterHandler (proxier )
460
+
460
461
endpointsConfig := pconfig .NewEndpointsConfig ()
461
462
// customized handling registration that inserts a filter if needed
462
463
if c .FilteringEndpointsHandler != nil {
Original file line number Diff line number Diff line change @@ -411,7 +411,8 @@ var _ = g.Describe("idling and unidling", func() {
411
411
o .Expect (endpoints .Annotations ).NotTo (o .HaveKey (unidlingapi .UnidleTargetAnnotation ))
412
412
})
413
413
414
- g .It ("should handle many UDP senders (by continuing to drop all packets on the floor)" , func () {
414
+ // TODO: Work out how to make this test work correctly when run on AWS
415
+ g .XIt ("should handle many UDP senders (by continuing to drop all packets on the floor)" , func () {
415
416
g .By ("Idling the service" )
416
417
_ , err := oc .Run ("idle" ).Args ("--resource-names-file" , idlingFile ).Output ()
417
418
o .Expect (err ).ToNot (o .HaveOccurred ())
@@ -432,6 +433,7 @@ var _ = g.Describe("idling and unidling", func() {
432
433
for i := 0 ; i < connectionsToStart ; i ++ {
433
434
connWG .Add (1 )
434
435
go func (ind int ) {
436
+ defer g .GinkgoRecover ()
435
437
defer connWG .Done ()
436
438
err = tryEchoUDP (svc )
437
439
errors [ind ] = err
You can’t perform that action at this time.
0 commit comments