Sha256: c06f7e32cd6def5553cbbe5817beaa31c62b306738a86d63d3c4fdf1f3ed3fa3

Contents?: true

Size: 908 Bytes

Versions: 1

Compression:

Stored size: 908 Bytes

Contents

#@lamp_test
#
#Feature: LAMP Server Template Test
#  Tests the deployment
#
#Scenario: LAMP Server Template Test
#
# Given A LAMP deployment
  @runner = VirtualMonkey::LampRunner.new(ENV['DEPLOYMENT'])

# Then I should stop the servers
  @runner.behavior(:stop_all)

# Then I should launch all servers
  @runner.behavior(:launch_all)

# Then I should wait for the state of "all" servers to be "operational"
  @runner.behavior(:wait_for_all, "operational")

# Then I should run LAMP checks
  @runner.behavior(:run_lamp_checks)

# Then I should run mysql checks
  @runner.behavior(:run_checks)

## Then I should run mysqlslap stress test
#  @runner.behavior(:run_mysqlslap_check)
#
# Then I should check that ulimit was set correctly
  @runner.probe(".*", "su - mysql -s /bin/bash -c \"ulimit -n\"") { |s| s.to_i > 1024 }

# Then I should check that monitoring is enabled
  @runner.behavior(:check_monitoring)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
virtualmonkey-0.0.1 features/lamp.rb