Jean Pierre
280505471b
Fix ide tests
2023-02-09 18:28:14 +01:00
Pudong Zheng
23a8fee3c1
clean up deprecated server-ide-config
2023-02-03 10:01:41 +01:00
JenTing Hsiao
2d2ba91852
test: remove the workaround
...
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2023-01-13 06:06:52 +01:00
Christian Weichel
478a75e744
Switch license to AGPL
2022-12-08 13:05:19 -03:00
Manuel Alejandro de Brito Fontes
88bca938a5
Fix workspace integration test suite and reduce log verbosity
2022-11-18 13:42:48 +02:00
utam0k
a54bef9ecd
test: Rename the field name to make it clear
2022-11-14 02:46:43 +02:00
utam0k
acc24b8449
test: Parallel workspace integration tests
2022-11-14 02:46:43 +02:00
utam0k
9b324b408a
test: More accurate monitoring of workspace status
2022-11-14 02:46:43 +02:00
utam0k
dfb82ac879
test: Repeat as workspace startup requests are sometimes not accepted by the server for some reason
2022-11-14 02:46:43 +02:00
utam0k
9843705bc4
test: Retry when RPC connection is lost
2022-11-14 02:46:43 +02:00
utam0k
19d4fbd625
test: Allow test agent preparation to be retried
2022-11-14 02:46:43 +02:00
utam0k
71b125d138
test: Set the timeout on port-foward to retry
2022-11-14 02:46:43 +02:00
utam0k
b94cf1f629
test: Add the way to shutdown into the test agent
2022-11-14 02:46:43 +02:00
utam0k
bc4e609081
test: Enhanced logging when waiting for workspace to start up and stop
2022-11-14 02:46:43 +02:00
utam0k
dfe618aa7c
test: Ensure that stopWs is only executed once even if it is called multiple times
2022-11-14 02:46:43 +02:00
utam0k
00ebe0a01d
test: Make it more stabilize
2022-11-14 02:46:43 +02:00
utam0k
b70a622bfa
test: Launch up to two workspaces simultaneously in parallel
...
Signed-off-by: utam0k <k0ma@utam0k.jp>
2022-11-14 02:46:43 +02:00
Sven Efftinge
e905843cb6
Update test/pkg/integration/workspace.go
...
Co-authored-by: Wouter Verlaek <wouter@gitpod.io>
2022-11-10 09:03:45 +01:00
Sven Efftinge
9f9c6761b2
[server] update go api
2022-11-10 09:03:45 +01:00
Wouter Verlaek
f70b3c775c
[integration-tests] Set VSX_REGISTRY_URL to fix workspace tests
2022-11-10 09:03:45 +01:00
Andrea Falzetti
680dbde07c
chore: retry logic for workspace url empty in tests
...
Co-authored-by: Victor Nogueira <victor@gitpod.io>
Co-authored-by: Pudong <tianshi8650@gmail.com>
2022-11-01 19:50:06 +01:00
Wouter Verlaek
fc916b7ab9
chore(image-builder-mk3): Reduce retry duration
2022-10-26 20:23:41 +02:00
Pudong Zheng
4c6b2246a1
[integration-test] add user scope
2022-10-19 21:14:35 +02:00
Pudong Zheng
35c10163e4
[integration-test] allow mark user as unleashed plan
2022-10-19 21:14:35 +02:00
Pudong Zheng
6f3775df4e
[integration-test] use correct workspace id
2022-10-13 18:13:28 +02:00
Manuel Alejandro de Brito Fontes
0412c5f461
[test] Reduce loop wait time
2022-10-05 05:15:20 +02:00
JenTing Hsiao
df77406fc5
test: restart control plane components after the volume snapshot is finished
...
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-10-02 04:32:32 +02:00
JenTing Hsiao
d2eca2b09e
test: update TestOpenWorkspaceFromPrebuild
...
Check the PVC object should exist or not.
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-09-29 08:05:29 +02:00
JenTing Hsiao
3ce09dcbdf
test: new integration test TestOpenWorkspaceFromPrebuild
...
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-09-19 15:22:20 +02:00
utam0k
6c669f75f2
test: Add a handling if the workspace already has gone when try to delete it
2022-09-15 15:42:16 +02:00
utam0k
7deee9f1c6
test: Enhanced running in unstable environments
2022-09-15 15:42:16 +02:00
utam0k
432fb65b6a
test: Convert port-forward stderr to be easier to deal with
2022-09-14 14:06:15 +02:00
utam0k
9194470564
test: Return the stderr instead of port-forward cmd exit err
2022-09-14 14:06:15 +02:00
utam0k
5dedcaa21e
test: Handle errors relate network in port-fowarding
2022-09-14 11:17:15 +02:00
utam0k
1ce6856495
test: Ignore the error gitpod-io/gitpod#12021
2022-09-14 11:14:15 +02:00
utam0k
403a8e2262
test: fix a bug in stopWs
2022-09-14 11:12:15 +02:00
utam0k
f35e4ab0d8
test: Refresh a api client if it returns Unavailable
2022-09-14 09:56:15 +02:00
utam0k
837971f584
test: Add methods for cleaning client cache each clients
2022-09-14 09:56:15 +02:00
utam0k
8a31958388
test: Let the stopws get the api from caller
2022-09-14 07:19:15 +02:00
utam0k
65cde1e082
test: Return workspace status even when not waiting for stop
2022-09-14 06:02:14 +02:00
utam0k
4d150f3dba
test: Put logging of workspace starts and stops.
2022-09-14 06:02:14 +02:00
utam0k
2d304f1a4b
test: Refactor stopWs
2022-09-14 06:02:14 +02:00
JenTing Hsiao
73928d9f1b
Support returns the last workspace status after workspace stopped
...
We should rely on the ws-manager last reported volume snapshot
information rather than use the volume snapshot client to find
the VolumeSnapshot object within the Kubernetes cluster.
This behavior is more close to how the ws-manager reports the last
volume snapshot information to server via ws-manager-bridge.
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-09-13 03:23:14 +02:00
utam0k
eac7a5da4c
test: More robust port-forward of ComponentAPI
2022-09-09 11:33:24 +02:00
JenTing Hsiao
b3cc3df8d9
workspace integration test: make sure we could open empty repo
...
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-09-08 18:16:23 +02:00
JenTing Hsiao
a6cbf490d8
integration test: add api to update user's feature flag
...
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-09-05 19:28:20 +02:00
JenTing Hsiao
06d501bf41
workspace integration test: pass context to FindVolumeSnapshot
...
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-09-05 09:08:20 +02:00
JenTing Hsiao
a274e4b0e7
integration test: add owner for image build request
...
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-09-05 09:08:20 +02:00
JenTing Hsiao
423e8d4fb1
workspace integration test: find volume snapshot by label selector
...
Signed-off-by: JenTing Hsiao <hsiaoairplane@gmail.com>
2022-09-05 09:08:20 +02:00
utam0k
f04a405ceb
test: retry if get a error of EOF.
2022-09-02 03:25:17 +02:00