Skip to content

Commit eaec7c8

Browse files
committed
Merge pull request #211 from arschles/test-reset
doc(README.md): document workaround for test state resetting
2 parents 8bbbb10 + a428833 commit eaec7c8

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

_tests/README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Deis Integration Tests
2+
3+
This directory contains [Ginkgo]/[Gomega] based integration tests, which exercise
4+
the Deis CLI to extensively test the platform.
5+
6+
# Resetting Cluster State
7+
8+
Periodically, tests may not clean up after themselves. While this is an ongoing issue,
9+
for which we're working on a permanent fix (possible in [this GH issue](https://github.com/deis/workflow/issues/125))),
10+
below are commands you can run to work around the failure:
11+
12+
```console
13+
$ kubectl exec -it deis-workflow-qoxhz python manage.py shell
14+
Python 2.7.10 (default, Aug 13 2015, 12:27:27)
15+
[GCC 4.9.2] on linux2
16+
>>> from django.contrib.auth import get_user_model
17+
>>> m = get_user_model()
18+
>>> m.objects.exclude(username='AnonymousUser').delete()
19+
>>> m.objects.all()
20+
```

0 commit comments

Comments
 (0)