Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[test] fix integration tests (#19692)
* [test] fix TestProcessPriority Need to give ws-daemon time before it applies process priority * [server] always limit network connections We are not limiting network connections for preview environments * Cleanup * Fix * Always do network limiting * Regardless of billing mode * If there's an error * Wait a bit longer, just in-case, to make the test more durable * Cleanup * No parallel * [preview] update to use gen111 image * [test] fix TestOpenWorkspaceFromPrebuild test It was failing with an exit code of 2 on grep, because it was trying to grep a folder, rather than recurse into it. When the grep command was run manually from a workspace that started from a prebuild, we saw `grep: logs: Is a directory`. So, it's important for integration tests to output the exit code, but also error text. * [test] fix TestOpenWorkspaceFromPrebuild We need to wait for the started workspace to stop, before we try to restart it * be parallel again * Nope * Set StripeSecret on Preview install Otherwise this returns false: https://github.com/gitpod-io/gitpod/blob/643701c6352609b3bab3090d271d38cb42b33b3c/components/server/src/billing/billing-mode.ts#L25 Because EnablePayment is set to false at install time: https://github.com/gitpod-io/gitpod/blob/643701c6352609b3bab3090d271d38cb42b33b3c/install/installer/pkg/components/server/configmap.go#L282
- Loading branch information