centreon-plugins/tests/database/database-mysql.robot

24 lines
703 B
Plaintext

*** Settings ***
Documentation Database Mysql plugin
Resource ${CURDIR}${/}..${/}resources/import.resource
Test Timeout 120s
*** Variables ***
${CMD} ${CENTREON_PLUGINS} --plugin=database::mysql::plugin
*** Test Cases ***
Database Mysql sql string mode ${tc}
[Documentation] Mode sql string (common protocol database)
[Tags] database mysql sql-string
${command} Catenate
... ${CMD}
... --mode=sql-string
Ctn Run Command And Check Result As Strings ${command} ${expected_result}
Examples: tc expected_result --
... 1 UNKNOWN: Need to specify data_source arguments.