Skip to content

Commit c5a4522

Browse files
committed
debug with tmate
1 parent 42cd2d5 commit c5a4522

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

hack/ci/create_devstack.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,3 +319,8 @@ EOF
319319
}
320320

321321
main "$@"
322+
323+
wget https://github.com/tmate-io/tmate/releases/download/2.4.0/tmate-2.4.0-static-linux-amd64.tar.xz
324+
tar xf tmate-2.4.0-static-linux-amd64.tar.xz
325+
cd tmate-2.4.0-static-linux-amd64
326+
./tmate -F &

test/e2e/suites/e2e/e2e_suite_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@ limitations under the License.
2020
package e2e
2121

2222
import (
23+
"fmt"
2324
"os"
2425
"testing"
26+
"time"
2527

2628
. "github.com/onsi/ginkgo/v2"
2729
. "github.com/onsi/gomega"
@@ -58,6 +60,8 @@ var _ = SynchronizedBeforeSuite(func() []byte {
5860
})
5961

6062
var _ = SynchronizedAfterSuite(func() {
63+
fmt.Println("Sleeping for 3 hours now to allow debugging from humans")
64+
time.Sleep(3 * time.Hour)
6165
shared.AllNodesAfterSuite(e2eCtx)
6266
}, func() {
6367
shared.Node1AfterSuite(e2eCtx)

0 commit comments

Comments
 (0)