File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 -- sh
14+ /app # ./manage.py shell
15+ Python 2.7.10 (default, Aug 13 2015, 12:27:27)
16+ [GCC 4.9.2] on linux2
17+ >>> from django.contrib.auth import get_user_model
18+ >>> m = get_user_model()
19+ >>> m.objects.exclude(username='AnonymousUser').delete()
20+ >>> m.objects.all()
21+ ```
You can’t perform that action at this time.
0 commit comments