Skip to content

Commit

Permalink
add system test to check presence of openssl errors due to missing DI…
Browse files Browse the repository at this point in the history
…SCONNECT packet

Signed-off-by: Reuben Miller <[email protected]>
  • Loading branch information
reubenmiller committed Jul 30, 2024
1 parent c531450 commit e0c1024
Showing 1 changed file with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Resource ../../resources/common.resource
Library ThinEdgeIO

Test Tags theme:cli theme:mqtt theme:c8y
Suite Setup Setup
Suite Setup Suite Setup
Suite Teardown Get Logs

*** Test Cases ***
Expand Down Expand Up @@ -58,8 +58,19 @@ tedge reconnect restarts mapper
${pid_after}= Execute Command sudo systemctl show --property MainPID tedge-mapper-c8y
Should Not Be Equal ${pid_before} ${pid_after}

Check absence of OpenSSL Error messages #3024
${SuiteStart}= Get Suite Start Time
# Only checkout output if mosquitto is being used
${output}= Execute Command systemctl is-active mosquitto && journalctl -u mosquitto -n 5000 --since "@${SuiteStartSeconds}" || true
Should Not Contain ${output} OpenSSL Error

*** Keywords ***

Suite Setup
Setup
${SuiteStartSeconds}= Get Unix Timestamp
Set Suite Variable $SuiteStartSeconds

Should Have File Permissions
[Arguments] ${file} ${expected_permissions}
${FILE_MODE_OWNERSHIP}= Execute Command stat -c '%a %U:%G' ${file} strip=${True}
Expand Down

0 comments on commit e0c1024

Please sign in to comment.