centreon-plugins/tests/database/database-mysql.robot
sfarouq-ext 4730dc1891
enh(tests): enable testing with collect's perl connector (#5641)
Co-authored-by: omercier <omercier@centreon.com>
refs: CTOR-1244
2025-08-28 10:53:59 +02:00

26 lines
794 B
Plaintext

*** Settings ***
Documentation Database Mysql plugin
Resource ${CURDIR}${/}..${/}resources/import.resource
Test Timeout 120s
Suite Setup Ctn Generic Suite Setup
Suite Teardown Ctn Generic Suite Teardown
*** 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.