Skip to content

Commit c08af9c

Browse files
committed
e2e: fix PFCP connection failure handling
1 parent 7e241d4 commit c08af9c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/e2e/pfcp/pfcp.go

+2
Original file line numberDiff line numberDiff line change
@@ -894,6 +894,8 @@ func (pc *PFCPConnection) Start(ctx context.Context) error {
894894
// broken in PFCPConnection code
895895
tch := time.After(pc.cfg.RequestTimeout * (maxRequestAttempts + 3))
896896
select {
897+
case <-pc.t.Dead():
898+
return pc.t.Wait()
897899
case r := <-pc.startCh:
898900
close(pc.startCh)
899901
return r.err

0 commit comments

Comments
 (0)