Sha256: 43913b0a8afa9ce70a2977a755fe3016386f57a80d1bed0c465c6f709256226f

Contents?: true

Size: 1.48 KB

Versions: 7

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.test.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.test.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

7 entries across 7 versions & 1 rubygems

Version Path
dkdeploy-core-10.0.0 features/mysql.feature
dkdeploy-core-9.3.1 features/mysql.feature
dkdeploy-core-9.2.4 features/mysql.feature
dkdeploy-core-9.3.0 features/mysql.feature
dkdeploy-core-9.2.3 features/mysql.feature
dkdeploy-core-9.2.2 features/mysql.feature
dkdeploy-core-9.2.1 features/mysql.feature