diff --git a/test/resources/sidecar.yaml b/test/resources/sidecar.yaml index 4032cf9b..fea448bd 100644 --- a/test/resources/sidecar.yaml +++ b/test/resources/sidecar.yaml @@ -412,7 +412,9 @@ spec: - name: RESOURCE value: both - name: REQ_URL - value: http://dummy-server/reload + value: http://dummy-server/ + - name: REQ_METHOD + value: GET - name: REQ_ONCE_PER_BATCH value: "true" - name: LOG_LEVEL diff --git a/test/server/server.py b/test/server/server.py index 19794b93..6d11f39f 100644 --- a/test/server/server.py +++ b/test/server/server.py @@ -47,6 +47,3 @@ async def read_secure_data(auth: HTTPBasicCredentials = Depends(basic_auth_schem ) return 'allowed' -@app.post("/reload", status_code=201) -async def read_item(): - return 201