Skip to content

Commit

Permalink
fix(tests/retention): lookup up in the wrong file
Browse files Browse the repository at this point in the history
  • Loading branch information
bouda1 committed Mar 31, 2023
1 parent 54964a3 commit 0374296
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions tests/broker-engine/bbdo-protobuf.robot
Original file line number Diff line number Diff line change
Expand Up @@ -128,12 +128,12 @@ BEPBBEE5
BEPBRI1
[Documentation] bbdo_version 3 use pb_resource new bbdo protobuf ResponsiveInstance message.
[Tags] Broker Engine protobuf bbdo
Remove File /tmp/pbresponsiveinstance.log
Remove File /tmp/pbresponsiveinstance.log
Config Engine ${1}
Config Broker central
Config Broker module
Broker Config Add Item module0 bbdo_version 3.0.0
Broker Config Add Item central bbdo_version 3.0.0
Broker Config Add Item module0 bbdo_version 3.0.0
Broker Config Add Item central bbdo_version 3.0.0
Broker Config Log central sql trace
Config Broker Sql Output central unified_sql
broker_config_output_set central central-broker-unified-sql read_timeout 2
Expand All @@ -146,7 +146,7 @@ BEPBRI1
${start}= Get Current Date
Start Broker True
Start Engine
Wait Until Created /tmp/pbresponsiveinstance.log 30s
Wait Until Created /tmp/pbresponsiveinstance.log 30s
${grep_res}= Grep File /tmp/pbresponsiveinstance.log "_type":65582, "category":1, "element":46,
${grep_res}= Get Lines Containing String ${grep_res} "poller_id":1, "responsive":true
Should Not Be Empty ${grep_res} msg="responsive":true not found
Expand Down
3 changes: 2 additions & 1 deletion tests/broker-engine/retention-duplicates.robot
Original file line number Diff line number Diff line change
Expand Up @@ -323,9 +323,10 @@ BERDUC3U2
${content}= Create List INITIAL SERVICE STATE: host_50;service_1000; check_for_external_commands()
${result}= Find In Log with Timeout ${engineLog0} ${start} ${content} 60

${start}= Get Round Current Date
# Let's wait for a first service status.
${content}= Create List SQL: pb service .* status .* type .* check result output
${result}= Find Regex In Log with Timeout ${engineLog0} ${start} ${content} 60
${result}= Find Regex In Log with Timeout ${centralLog} ${start} ${content} 60
Should Be True ${result[0]} msg=We did not get any pb service status for 60s

${result}= Check Connections
Expand Down

0 comments on commit 0374296

Please sign in to comment.