Skip to content

Commit c7ef3d3

Browse files
shmuelkroytman
authored andcommitted
First part of refactoring the ExtProc used by both the EPP and the BBR (kubernetes-sigs/gateway-api-inference-extension#2428)
* Moved base header helpers to pkg/common Signed-off-by: Shmuel Kallner <kallner@il.ibm.com> * BBR to use requestIdKey from pkg/common Signed-off-by: Shmuel Kallner <kallner@il.ibm.com> * Moved default flow ID to pkg/metadata Signed-off-by: Shmuel Kallner <kallner@il.ibm.com> * Updates due to move of requestId header key Signed-off-by: Shmuel Kallner <kallner@il.ibm.com> * Fixed copyright text Signed-off-by: Shmuel Kallner <kallner@il.ibm.com> * Increased timeout, times out if Git is slow Signed-off-by: Shmuel Kallner <kallner@il.ibm.com> * Reverted change to ready timeout Signed-off-by: Shmuel Kallner <kallner@il.ibm.com> * Increased metrics curl timeout for slower systems Signed-off-by: Shmuel Kallner <kallner@il.ibm.com> * Updated new test with updated header key location Signed-off-by: Shmuel Kallner <kallner@il.ibm.com> * Moved envoy related code under new common/envoy package Signed-off-by: Shmuel Kallner <kallner@il.ibm.com> * Changes due to package refactoring Signed-off-by: Shmuel Kallner <kallner@il.ibm.com> * Changes due to package refactoring Signed-off-by: Shmuel Kallner <kallner@il.ibm.com> --------- Signed-off-by: Shmuel Kallner <kallner@il.ibm.com>
1 parent 257359b commit c7ef3d3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/e2e/epp/e2e_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ func findReadyPod() *corev1.Pod {
533533
// getMetricsScrapeCommand returns the command to scrape the /metrics endpoint.
534534
func getMetricsScrapeCommand(podIP, token string) []string {
535535
return []string{
536-
"curl", "-i", "--max-time", strconv.Itoa((int)(4 * curlTimeout.Seconds())),
536+
"curl", "-i", "--max-time", strconv.Itoa((int)(6 * curlTimeout.Seconds())),
537537
"-H", "Authorization: Bearer " + token, fmt.Sprintf("http://%s:%d/metrics", podIP, 9090),
538538
}
539539
}

0 commit comments

Comments
 (0)