From 97215f4142e4eab921ad6a448edf7990a0884e58 Mon Sep 17 00:00:00 2001 From: Gregory Giguashvili Date: Fri, 2 Jan 2026 12:36:07 +0200 Subject: [PATCH] Increase GDP test timeouts to 5m --- test/suites/optional/generic-device-plugin.robot | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/test/suites/optional/generic-device-plugin.robot b/test/suites/optional/generic-device-plugin.robot index 5ee7e4f111..e2102b25f0 100644 --- a/test/suites/optional/generic-device-plugin.robot +++ b/test/suites/optional/generic-device-plugin.robot @@ -16,6 +16,7 @@ Test Tags generic-device-plugin *** Variables *** ${NAMESPACE} ${EMPTY} ${DEVICE_COUNT} 5 +${WAIT_TIMEOUT} 5m *** Test Cases *** @@ -56,7 +57,7 @@ Verify FUSE device allocation and accessibility Wait Until Device Is Allocatable 10 fuse Oc Create -f ./assets/generic-device-plugin/fuse-test-pod.yaml -n ${NAMESPACE} - Oc Wait -n ${NAMESPACE} pod/fuse-test-pod --for=condition=Ready --timeout=120s + Oc Wait -n ${NAMESPACE} pod/fuse-test-pod --for=condition=Ready --timeout=${WAIT_TIMEOUT} # Verify /dev/fuse is accessible in the pod ${fuse_device}= Oc Exec fuse-test-pod ls -l /dev/fuse @@ -176,7 +177,7 @@ Device Should Be Allocatable Wait For Job Completion And Check Logs [Documentation] Waits for Job completion and checks Pod logs looking for 'Test successful' message - Oc Wait -n ${NAMESPACE} job/gdp-test --for=condition=complete --timeout=120s + Oc Wait -n ${NAMESPACE} job/gdp-test --for=condition=complete --timeout=${WAIT_TIMEOUT} ${pod}= Oc Get JsonPath ... pod ... ${NAMESPACE} @@ -234,7 +235,7 @@ Create Pod And Verify Allocation # Create and wait for pod ${path}= Create Random Temp File ${pod_spec} Oc Create -f ${path} -n ${NAMESPACE} - Oc Wait -n ${NAMESPACE} pod/${pod_name} --for=condition=Ready --timeout=120s + Oc Wait -n ${NAMESPACE} pod/${pod_name} --for=condition=Ready --timeout=${WAIT_TIMEOUT} # Verify correct number of devices allocated to pod ${devices_in_pod}= Oc Exec ${pod_name} ls /dev/ | grep ttyUSB | wc -l ${NAMESPACE}