From 9ff8788d26b70985eb47d14df5de973137adb83b Mon Sep 17 00:00:00 2001 From: David Garvey Date: Thu, 14 May 2020 23:46:25 +0800 Subject: [PATCH] fix for timeout plugin test --- deployments/tyk/data/tyk-dashboard/apis.json | 2 +- tyk_demo.postman_collection.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deployments/tyk/data/tyk-dashboard/apis.json b/deployments/tyk/data/tyk-dashboard/apis.json index 07cd6f3..b79c6bd 100644 --- a/deployments/tyk/data/tyk-dashboard/apis.json +++ b/deployments/tyk/data/tyk-dashboard/apis.json @@ -2485,7 +2485,7 @@ { "path": "/delay/{time}", "method": "GET", - "timeout": 3 + "timeout": 4 } ], "circuit_breakers": [ diff --git a/tyk_demo.postman_collection.json b/tyk_demo.postman_collection.json index 1941901..57f78a4 100644 --- a/tyk_demo.postman_collection.json +++ b/tyk_demo.postman_collection.json @@ -322,7 +322,7 @@ "6" ] }, - "description": "The Enforced Timeout plugin will return a response from the Gateway if the API server does not response within a set time. \n\nThis request calls the `/delay/6` endpoint, which has a 6 second delay before responding. The endpoint uses the Enforced Timeout plugin, which is configured for 3 seconds, so will repsond with a `504 Gateway Timeout` before the API server can provide a response." + "description": "The Enforced Timeout plugin will return an error response from the Gateway if the API server does not respond within a set time. \n\nThis request calls the `/delay/6` endpoint, which has a 6 second delay before responding. The endpoint uses the Enforced Timeout plugin, which is configured for 4 seconds, so will repsond with a `504 Gateway Timeout` before the API server can provide a response." }, "response": [] },