Skip to content

Commit

Permalink
ci(gorgone-docker): Wait longer for poller to be ready
Browse files Browse the repository at this point in the history
Refs:MON-34540
  • Loading branch information
Evan-Adam committed Jul 16, 2024
1 parent a78f94f commit 340826d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gorgone/tests/robot/resources/resources.resource
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ Check Poller Communicate
[Arguments] ${poller_id}
${response} Set Variable ${EMPTY}
Log To Console checking Gorgone see poller in rest api response...
FOR ${i} IN RANGE 10
FOR ${i} IN RANGE 20
Sleep 5
${response}= GET http://127.0.0.1:8085/api/internal/constatus
Log ${response.json()}
Expand All @@ -111,7 +111,7 @@ Check Poller Communicate
END
END
Log To Console json response : ${response.json()}
Should Be True ${i} < 9 timeout after ${i} time waiting for poller status in gorgone rest api (/api/internal/constatus) : ${response.json()}
Should Be True ${i} < 19 timeout after ${i} time waiting for poller status in gorgone rest api (/api/internal/constatus) : ${response.json()}
Should Be True 0 == ${response.json()}[data][${poller_id}][ping_failed] there was failed ping between the central and the poller ${poller_id}
Should Be True 0 < ${response.json()}[data][${poller_id}][ping_ok] there was no successful ping between the central and the poller ${poller_id}

Expand Down

0 comments on commit 340826d

Please sign in to comment.