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