Commit 2944875
authored
Mock web api for dashboard tests (#1116)
* Add important comment into Github Workflow before running orion sever, about necessary `ulimit -n` to set so that MongoDB works correctly.
* Add a script to call orion server with requests.
Add script to Github workfloe 3 times.
Also run playwright 3 times.
* Add starting message, and request timeout (10 minutes).
* Remove urls.json, directly add urls into script.
* Try to increase ulimit -i, -l and -u
* Try to set soft ulimit
* Do not try anymore to set ulimit.
* Get back to PickledDB for frontend unit tests.
* Back to MongoDB.
* Add a fake server to mock orion server for dashboard tests.
* Use fake server in dashboard tests.
* Move back to original call_orion_server
Create gunicorn_tmp_dir in CI before launching fake server
* Clean-up and add doc.1 parent 083dc38 commit 2944875
3 files changed
Lines changed: 13702 additions & 5 deletions
File tree
- .github/workflows
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
77 | 86 | | |
78 | 87 | | |
79 | 88 | | |
80 | 89 | | |
81 | 90 | | |
82 | 91 | | |
83 | 92 | | |
84 | | - | |
85 | | - | |
| 93 | + | |
| 94 | + | |
0 commit comments