X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=csit%2Fsuites%2Ftsdr%2FCassandra%2F050_SyslogTable.robot;h=4fcd17f8d65caae93e1b53859a617d9facd9a6e2;hb=94651ca9711d8eb316721775561e815830bc6c7e;hp=f9fa59d88e9dd193d22b1e7b636cb9ab50b790b1;hpb=89b88a0a23561f0bda62338b394ec41655679b2d;p=integration%2Ftest.git diff --git a/csit/suites/tsdr/Cassandra/050_SyslogTable.robot b/csit/suites/tsdr/Cassandra/050_SyslogTable.robot index f9fa59d88e..4fcd17f8d6 100644 --- a/csit/suites/tsdr/Cassandra/050_SyslogTable.robot +++ b/csit/suites/tsdr/Cassandra/050_SyslogTable.robot @@ -18,10 +18,11 @@ Verification of TSDR Cassandra Feature Installation Sending syslog to ODL Syslog collector using Logger command [Documentation] Sending Syslogs to collector. - : FOR ${key} IN ZIP &{syslog_facility} - \ ${value}= Get From Dictionary ${syslog_facility} ${key} - \ ${f_value}= Evaluate ${value} * 8 - \ Generate Syslog ${f_value} + FOR ${key} IN ZIP &{syslog_facility} + ${value}= Get From Dictionary ${syslog_facility} ${key} + ${f_value}= Evaluate ${value} * 8 + Generate Syslog ${f_value} + END Verifying TSDR Data Store For Syslog Entries [Documentation] Verifying if syslogs is getting stored. @@ -29,9 +30,10 @@ Verifying TSDR Data Store For Syslog Entries ${metric_log}= Verify the Metrics Syslog on Cassandra Client grep DC=SYSLOG @{Syslogs}= Split to lines ${metric_log} ${iterator}= Set Variable 0 - : FOR ${key} IN ZIP &{syslog_facility} - \ ${value}= Get From Dictionary ${syslog_facility} ${key} - \ ${f_value}= Evaluate ${value} * 8 - \ Should Contain ${syslogs}[${iterator}] ${MESSAGE} - \ Should Contain ${syslogs}[${iterator}] <${f_value}> - \ ${iterator}= Evaluate ${iterator} + 1 + FOR ${key} IN ZIP &{syslog_facility} + ${value}= Get From Dictionary ${syslog_facility} ${key} + ${f_value}= Evaluate ${value} * 8 + Should Contain ${syslogs}[${iterator}] ${MESSAGE} + Should Contain ${syslogs}[${iterator}] <${f_value}> + ${iterator}= Evaluate ${iterator} + 1 + END