File tree Expand file tree Collapse file tree 3 files changed +2
-6
lines changed
.github/workflows/setup-e2e-environment Expand file tree Collapse file tree 3 files changed +2
-6
lines changed Original file line number Diff line number Diff line change 77 steps :
88 - name : Wait for database to be ready
99 run : |
10- timeout 1m bash -c '
10+ timeout 5m bash -c '
1111 until docker exec ${{ job.services.db.id }} pg_isready -U nest_user_e2e -d nest_db_e2e; do
1212 echo "Waiting for database..."
1313 sleep 5
4848
4949 - name : Waiting for the backend to be ready
5050 run : |
51- timeout 1m bash -c '
51+ timeout 5m bash -c '
5252 until wget --spider http://localhost:9000/a; do
5353 echo "Waiting for backend..."
5454 sleep 5
Original file line number Diff line number Diff line change @@ -36,8 +36,6 @@ def cache_response(
3636 def decorator (view_func ):
3737 @wraps (view_func )
3838 def _wrapper (request , * args , ** kwargs ):
39- if settings .IS_E2E_ENVIRONMENT :
40- return view_func (request , * args , ** kwargs )
4139 if request .method not in ("GET" , "HEAD" ):
4240 return view_func (request , * args , ** kwargs )
4341
Original file line number Diff line number Diff line change 5757 ],
5858 "throttle" : [],
5959 }
60-
6160elif settings .IS_E2E_ENVIRONMENT :
6261 api_settings_customization = {
6362 "auth" : None ,
6968 ],
7069 "throttle" : [],
7170 }
72-
7371elif settings .IS_STAGING_ENVIRONMENT :
7472 api_settings_customization = {
7573 "servers" : [
You can’t perform that action at this time.
0 commit comments