blob: a113537579f8c3a817788b30e92077a5d3b534ea [file] [log] [blame]
BjornMagnussonXAd3104ef2019-03-26 12:48:46 +00001*** Settings ***
2Library OperatingSystem
3Library RequestsLibrary
4Library Process
5
6*** Variables ***
7
8${CLI_MRSIM_CTR_REQUESTS} curl http://${SIM_IP}:2222/ctr_requests
9${CLI_MRSIM_CTR_RESPONSES} curl http://${SIM_IP}:2222/ctr_responses
10${CLI_MRSIM_CTR_FILES} curl http://${SIM_IP}:2222/ctr_unique_files
11
12*** Keywords ***
13
14MR Sim Emitted Files Equal
15 [Documentation] Verify that the number of emitted unique files are equal to a target value
16 [Arguments] ${target_ctr_value}
17 ${resp}= Run Process ${CLI_MRSIM_CTR_FILES} shell=yes
18 Should Be Equal As Strings ${resp.stdout} ${target_ctr_value}