Sha256: 2c5bd93da7f9d359a4d8d1fa626f2c5454ac42ae897053f708e7acf42db02c1a

Contents?: true

Size: 1.48 KB

Versions: 4

Compression:

Stored size: 1.48 KB

Contents

Feature: Test tasks for namespace 'mysql'

  Background:
    Given a test app with the default configuration
    And the remote server is cleared
    And I want to use the database `dkdeploy_core`

  Scenario: Downloading the MYSQL slow log
    When I successfully run `cap dev "db:upload_settings[127.0.0.1,3306,dkdeploy_core,root,ilikerandompasswords,utf8]"`
    And I successfully run `cap dev "db:update[temp,dkdeploy_core.sql.gz]"`
    And I successfully run `cap dev db:download_content`
    And I successfully run `cap dev mysql:download_slow_log`
    Then a file named "temp/slow-queries.dev.dkdeploy-core.dev.log" should exist

  Scenario: Downloading the MYSQL slow log analyze file
    When I successfully run `cap dev "db:upload_settings[127.0.0.1,3306,dkdeploy_core,root,ilikerandompasswords,utf8]"`
    And I successfully run `cap dev "db:update[temp,dkdeploy_core.sql.gz]"`
    And I successfully run `cap dev db:download_content`
    And I successfully run `cap dev mysql:analyze_download_slow_log`
    Then a file named "temp/mysql_slow_log_analyze.dev.dkdeploy-core.dev.log" should exist

  Scenario: Clearing the MySQL slow log file
    When I successfully run `cap dev "db:upload_settings[127.0.0.1,3306,dkdeploy_core,root,ilikerandompasswords,utf8]"`
    And I successfully run `cap dev "db:update[temp,dkdeploy_core.sql.gz]"`
    And I successfully run `cap dev db:download_content`
    And I successfully run `cap dev mysql:clear_slow_log`
    Then the output should match /has been cleared/

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
dkdeploy-core-9.1.1 features/mysql.feature
dkdeploy-core-9.0.1 features/mysql.feature
dkdeploy-core-9.1.0 features/mysql.feature
dkdeploy-core-9.0.0 features/mysql.feature