Skip to content

Commit

Permalink
[ws-manager] Fix validStartReq tests
Browse files Browse the repository at this point in the history
  • Loading branch information
csweichel committed Jul 7, 2022
1 parent e3d41e1 commit e28dc84
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"error": "invalid request: workspace_image: cannot be blank; workspace_location: cannot be blank."
}
"error": "invalid request: type: value 200 is out of range."
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
"owner": "tester",
"metaId": "foobar"
},
"servicePrefix": "foobarservice",
"service_prefix": "foobarservice",
"spec": {
"ideImage": {
"webRef": "eu.gcr.io/gitpod-core-dev/buid/theia-ide:someversion"
},
"workspaceImage": "eu.gcr.io/gitpod-dev/workspace-images/ac1c0755007966e4d6e090ea821729ac747d22ac/eu.gcr.io/gitpod-dev/workspace-base-images/github.com/typefox/gitpod:80a7d427a1fcd346d420603d80a31d57cf75a7af",
"checkoutLocation": "/",
"workspaceLocation": "/",
"workspace_image": "eu.gcr.io/gitpod-dev/workspace-images/ac1c0755007966e4d6e090ea821729ac747d22ac/eu.gcr.io/gitpod-dev/workspace-base-images/github.com/typefox/gitpod:80a7d427a1fcd346d420603d80a31d57cf75a7af",
"checkout_location": "/",
"workspace_location": "/",
"initializer": {
"snapshot": {
"snapshot": "workspaces/cryptic-id-goes-herg/fd62804b-4cab-11e9-843a-4e645373048e.tar@gitpod-dev-user-christesting"
Expand All @@ -37,4 +37,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
{
"error": "invalid request: workspace_image: cannot be blank; workspace_location: cannot be blank."
}
{}
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
"owner": "tester",
"metaId": "foobar"
},
"servicePrefix": "foobarservice",
"service_prefix": "foobarservice",
"spec": {
"ideImage": {
"webRef": "eu.gcr.io/gitpod-core-dev/buid/theia-ide:someversion"
},
"workspaceImage": "eu.gcr.io/gitpod-dev/workspace-images/ac1c0755007966e4d6e090ea821729ac747d22ac/eu.gcr.io/gitpod-dev/workspace-base-images/github.com/typefox/gitpod:80a7d427a1fcd346d420603d80a31d57cf75a7af",
"workspaceLocation": "/",
"workspace_image": "eu.gcr.io/gitpod-dev/workspace-images/ac1c0755007966e4d6e090ea821729ac747d22ac/eu.gcr.io/gitpod-dev/workspace-base-images/github.com/typefox/gitpod:80a7d427a1fcd346d420603d80a31d57cf75a7af",
"workspace_location": "/",
"initializer": {
"snapshot": {
"snapshot": "workspaces/cryptic-id-goes-herg/fd62804b-4cab-11e9-843a-4e645373048e.tar@gitpod-dev-user-christesting"
Expand All @@ -36,4 +36,4 @@
}
}
}
}
}

0 comments on commit e28dc84

Please sign in to comment.