From 5982621a05c0ae860632207017d88dd7ba98f8af Mon Sep 17 00:00:00 2001
From: Gero Posmyk-Leinemann <gero@gitpod.io>
Date: Thu, 5 Dec 2024 11:48:12 +0100
Subject: [PATCH] [cli] ports-list: Increase timeout for establishing
 connection + receiving response to 5s -> 10s (#20424)

---
 components/gitpod-cli/cmd/ports-list.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/gitpod-cli/cmd/ports-list.go b/components/gitpod-cli/cmd/ports-list.go
index ae24b4b5480bb6..c9f174500b9916 100644
--- a/components/gitpod-cli/cmd/ports-list.go
+++ b/components/gitpod-cli/cmd/ports-list.go
@@ -22,7 +22,7 @@ var listPortsCmd = &cobra.Command{
 	Use:   "list",
 	Short: "Lists the workspace ports and their states.",
 	RunE: func(cmd *cobra.Command, args []string) error {
-		ctx, cancel := context.WithTimeout(cmd.Context(), 5*time.Second)
+		ctx, cancel := context.WithTimeout(cmd.Context(), 10*time.Second)
 		defer cancel()
 
 		client, err := supervisor.New(ctx)