Skip to content

Commit

Permalink
[ws-manager-mk2] Run e2e tests against mk2 by default (gitpod-io#17439)
Browse files Browse the repository at this point in the history
* [ws-manager-mk2] Run e2e tests against mk2 by default

* workflow
  • Loading branch information
WVerlaek authored May 1, 2023
1 parent f1432b1 commit d384909
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ If you want to run an entire test suite, the easiest is to use `./test/run.sh`:
If you're iterating on a single test, the easiest is to use `go test` directly.
If your integration tests depends on having having a user token available, then you'll have to set `USER_TOKEN` manually (see `test/run.sh` on how to fetch the credentials that are used during our build)

If you want to run the workspace tests against `ws-manager-mk2`, set the `WS_MANAGER_MK2=true` env var when running the tests.
By default the workspace tests run against `ws-manager-mk2`, set `WS_MANAGER_MK2=false` to run against mk1.

```console
cd test
Expand Down
2 changes: 1 addition & 1 deletion test/pkg/integration/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,5 +229,5 @@ func getNamespace(path string) (string, error) {
}

func UseWsmanMk2() bool {
return os.Getenv("WS_MANAGER_MK2") == "true"
return os.Getenv("WS_MANAGER_MK2") != "false"
}

0 comments on commit d384909

Please sign in to comment.