Skip to content

Commit 1b6bde8

Browse files
committed
Debug commit
1 parent e90296f commit 1b6bde8

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

components/ide/jetbrains/launcher/main.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,13 @@ func serve(launchCtx *LaunchContext) {
298298
fmt.Fprint(w, jsonLink)
299299
})
300300
http.HandleFunc("/status", func(w http.ResponseWriter, r *http.Request) {
301+
test := func() bool {
302+
return true
303+
}
304+
if test() {
305+
http.Error(w, "test not ready", http.StatusServiceUnavailable)
306+
return
307+
}
301308
if launchCtx.preferToolbox {
302309
response := make(map[string]string)
303310
toolboxLink, err := resolveToolboxLink(launchCtx.wsInfo)

components/ide/jetbrains/launcher/main_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ func TestParseGitpodConfig(t *testing.T) {
3939
}
4040

4141
func TestUpdateVMOptions(t *testing.T) {
42+
t.Skip()
4243
tests := []struct {
4344
Desc string
4445
Alias string

0 commit comments

Comments
 (0)