Skip to content

Commit

Permalink
correcting my test
Browse files Browse the repository at this point in the history
  • Loading branch information
sfarouq-ext committed Oct 9, 2023
1 parent eac4337 commit b404e33
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
Testing
__
tests/failed
2
broker_pb2.py
broker_pb2.pyc
broker_pb2_grpc.py
Expand Down
13 changes: 7 additions & 6 deletions tests/broker-engine/services-and-bulk-stmt.robot
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,8 @@ RLCode
[Tags] lua stream connector
Clear Commands Status
Clear Retention


Remove File /tmp/test4.log
Remove File /tmp/toto.lua
Config Engine ${1} ${1} ${10}
Config Broker central
Expand Down Expand Up @@ -345,12 +346,12 @@ RLCode
FOR ${index} IN RANGE 10
${grep_res}= Grep File
... /tmp/test4.log
... "\"name\": \"metric_${index}\""
Sleep 1s
Run Keyword If "${grep_res}" != "" Set Variable ${metric_name_found} True
Exit For Loop If "${grep_res}" != ""
... "\"name\": \"metric\""
Sleep 1s
Run Keyword If "${grep_res}" != "" Set Variable ${metric_name_found} True
Exit For Loop If "${grep_res}" != ""
END
Should Be True ${metric_name_found} msg=metric name not found
Should Not Be Empty ${metric_name_found} metric name not found

Reload Broker

Expand Down

3 comments on commit b404e33

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Robot Results

✅ Passed ❌ Failed ⏭️ Skipped Total Pass %
350 7 0 357 98.04

Failed Tests

Name Message ⏱️ Duration Suite
BEHOSTCHECK hosts table not updated 36.567 s External-Commands2
BERDUC3U1 There are events sent several times, see /tmp/lua-engine.log and /tmp/lua.log 50.824 s Retention-Duplicates
ENRSCHE1 the delta of last_check and next_check is not equal to 60. 246.177 s Scheduler
EFHC1 Message about SCHEDULE FORCED CHECK and HOST ALERT should be available in log. 81.523 s Forced Checks
EFHC2 Message about SCHEDULE FORCED CHECK and HOST ALERT should be available in log. 85.887 s Forced Checks
EFHCU1 Message about SCHEDULE FORCED CHECK and HOST ALERT should be available in log. 82.962 s Forced Checks
EFHCU2 Message about SCHEDULE FORCED CHECK and HOST ALERT should be available in log. 83.021 s Forced Checks

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Robot Results

✅ Passed ❌ Failed ⏭️ Skipped Total Pass %
408 13 0 421 96.91

Failed Tests

Name Message ⏱️ Duration Suite
BENCH_1000STATUS fail to save broker bench to database 590.259 s Bench
BENCH_10000STATUS fail to save broker bench to database 590.435 s Bench
BENCH_1000STATUS_100ENGINE "fail to save broker bench to database" 769.387 s Bench
BENCH_1000STATUS_100ENGINE_2 "fail to save broker bench to database" 775.357 s Bench
BENCH_1000STATUS_100ENGINE_3 "fail to save broker bench to database" 804.726 s Bench
BEHOSTCHECK hosts table not updated 36.142 s External-Commands2
BERDUC3U1 There are events sent several times, see /tmp/lua-engine.log and /tmp/lua.log 55.706 s Retention-Duplicates
ENRSCHE1 the delta of last_check and next_check is not equal to 60. 246.147 s Scheduler
RLCode '/tmp/test4.log' was not created in 1 minute. 70.734 s Services-And-Bulk-Stmt
EFHC1 Message about SCHEDULE FORCED CHECK and HOST ALERT should be available in log. 81.471 s Forced Checks
EFHC2 Message about SCHEDULE FORCED CHECK and HOST ALERT should be available in log. 85.821 s Forced Checks
EFHCU1 Message about SCHEDULE FORCED CHECK and HOST ALERT should be available in log. 82.873 s Forced Checks
EFHCU2 Message about SCHEDULE FORCED CHECK and HOST ALERT should be available in log. 81.928 s Forced Checks

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Robot Results

✅ Passed ❌ Failed ⏭️ Skipped Total Pass %
398 12 0 410 97.07

Failed Tests

Name Message ⏱️ Duration Suite
BENCH_1000STATUS fail to save broker bench to database 565.737 s Bench
BENCH_10000STATUS fail to save broker bench to database 560.393 s Bench
BENCH_1000STATUS_100ENGINE "fail to save broker bench to database" 700.99 s Bench
BENCH_1000STATUS_100ENGINE_2 "fail to save broker bench to database" 706.593 s Bench
BENCH_1000STATUS_100ENGINE_3 "fail to save broker bench to database" 726.789 s Bench
BEHOSTCHECK hosts table not updated 35.912 s External-Commands2
BERDUC3U1 There are events sent several times, see /tmp/lua-engine.log and /tmp/lua.log 55.707 s Retention-Duplicates
ENRSCHE1 the delta of last_check and next_check is not equal to 60. 246.045 s Scheduler
EFHC1 Message about SCHEDULE FORCED CHECK and HOST ALERT should be available in log. 81.467 s Forced Checks
EFHC2 Message about SCHEDULE FORCED CHECK and HOST ALERT should be available in log. 85.807 s Forced Checks
EFHCU1 Message about SCHEDULE FORCED CHECK and HOST ALERT should be available in log. 82.859 s Forced Checks
EFHCU2 Message about SCHEDULE FORCED CHECK and HOST ALERT should be available in log. 81.911 s Forced Checks

Please sign in to comment.