summaryrefslogtreecommitdiff
path: root/vendor/plugins/thinking-sphinx/features/sphinx_detection.feature
blob: ebe431e9c16d7937dd12240d7cbd44a3f0c790d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Feature: Checking whether Sphinx is running or not
  In order to avoid unnecessary errors
  Thinking Sphinx
  Should be able to determine whether Sphinx is running or not
  
  Scenario: Checking Sphinx's status
    Given Sphinx is running
    Then Sphinx should be running
    
    When I stop Sphinx
    And I wait for Sphinx to catch up
    Then Sphinx should not be running
    
    When I start Sphinx
    And I wait for Sphinx to catch up
    Then Sphinx should be running
    
    Given Sphinx is running
    When I kill the Sphinx process
    And I wait for Sphinx to catch up
    Then Sphinx should not be running