Skip to content

Commit 4c15d40

Browse files
authored
[tests] disable brittle python tests (#1001)
these tests pass, but often cycle forever, causing builds to take too long or timeout
1 parent 723ae1b commit 4c15d40

File tree

1 file changed

+17
-16
lines changed

1 file changed

+17
-16
lines changed

tests/lang-python.yaml

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -41,23 +41,24 @@
4141
- status == 0
4242
- stdout.indexOf("/workspace/.pyenv_mirror") != -1
4343

44-
- desc: "`pyenv install <ver>` should use $HOME/.pyenv/versions/ for imagebuild env"
45-
entrypoint: [bash, -c]
46-
command:
47-
[
48-
ver=3.9.0; pyenv install $ver && test -e $PYENV_ROOT/versions/$ver,
49-
]
50-
assert:
51-
- status == 0
44+
# https://github.com/gitpod-io/workspace-images/issues/1000
45+
# - desc: "`pyenv install <ver>` should use $HOME/.pyenv/versions/ for imagebuild env"
46+
# entrypoint: [bash, -c]
47+
# command:
48+
# [
49+
# ver=3.9.0; pyenv install $ver && test -e $PYENV_ROOT/versions/$ver,
50+
# ]
51+
# assert:
52+
# - status == 0
5253

53-
- desc: "`pyenv install <ver>` should use /workspace/.pyenv_mirror/fakeroot/versions/ for workspace-session env and multi-version shims should work"
54-
entrypoint: [env, GITPOD_REPO_ROOT=/workspace, bash, -ci]
55-
command:
56-
[
57-
ver=3.9.0; pyenv install $ver && test -d $GP_PYENV_FAKEROOT/versions/$ver && test -L $PYENV_ROOT/versions/$ver && pip install cowsay && pyenv global $(pyenv version-name) $ver && cowsay Gitpod,
58-
]
59-
assert:
60-
- status == 0
54+
# - desc: "`pyenv install <ver>` should use /workspace/.pyenv_mirror/fakeroot/versions/ for workspace-session env and multi-version shims should work"
55+
# entrypoint: [env, GITPOD_REPO_ROOT=/workspace, bash, -ci]
56+
# command:
57+
# [
58+
# ver=3.9.0; pyenv install $ver && test -d $GP_PYENV_FAKEROOT/versions/$ver && test -L $PYENV_ROOT/versions/$ver && pip install cowsay && pyenv global $(pyenv version-name) $ver && cowsay Gitpod,
59+
# ]
60+
# assert:
61+
# - status == 0
6162

6263
- desc: "VSCode Python settings are correctly applied"
6364
entrypoint: [env, GITPOD_REPO_ROOT=/workspace/test, bash, -lic]

0 commit comments

Comments
 (0)