diff options
author | BjornMagnussonXA <bjorn.magnusson@est.tech> | 2019-03-26 12:48:46 +0000 |
---|---|---|
committer | BjornMagnussonXA <bjorn.magnusson@est.tech> | 2019-03-26 12:48:46 +0000 |
commit | d3104ef51614e203cb87b78ef254fb106ab467bd (patch) | |
tree | e472ceb2533173aefb205e468130d6831771bb1f /tests/dcaegen2-collectors-datafile/resources/common-keywords.robot | |
parent | 26ed3a83159b3de2d495b0b41495a826d7e8fd8a (diff) |
Added functional CSIT tests for DFC
New test case for single file download and publish
Minor refactoring of Management interface test
Issue-ID: DCAEGEN2-1313
Change-Id: I2436db42a5884a7d828dbefcf9678aa9cdf064e3
Signed-off-by: BjornMagnussonXA <bjorn.magnusson@est.tech>
Diffstat (limited to 'tests/dcaegen2-collectors-datafile/resources/common-keywords.robot')
-rw-r--r-- | tests/dcaegen2-collectors-datafile/resources/common-keywords.robot | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/dcaegen2-collectors-datafile/resources/common-keywords.robot b/tests/dcaegen2-collectors-datafile/resources/common-keywords.robot new file mode 100644 index 00000000..a1135375 --- /dev/null +++ b/tests/dcaegen2-collectors-datafile/resources/common-keywords.robot @@ -0,0 +1,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}
\ No newline at end of file |