Skip to content

Commit 95393d6

Browse files
committed
remove useless code
1 parent 96b1119 commit 95393d6

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

packages/shared/pkg/proxy/proxy_test.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -418,13 +418,6 @@ func TestProxyRetriesOnDelayedBackendStartup(t *testing.T) {
418418

419419
// Start backend after a delay (simulating envd port forwarding)
420420
go func() {
421-
defer func() {
422-
// Ensure channel is always closed to prevent test hangs
423-
if len(backendReady) == 0 {
424-
backendReady <- backendResult{nil, errors.New("goroutine exited without sending result")}
425-
}
426-
}()
427-
428421
// Wait 300ms before starting the backend (should succeed on retry 2 or 3)
429422
time.Sleep(300 * time.Millisecond)
430423

0 commit comments

Comments
 (0)