Sha256: 03af41f0c27365806ddb7c2e8c848c3c0028b597cfc49e633a79e49a8f6cebe6

Contents?: true

Size: 1.73 KB

Versions: 1

Compression:

Stored size: 1.73 KB

Contents

#@lb_test
#
#Feature: Tomcat6 Server Templates
#  Tests the Tomcat6 servers
#
#Scenario: Tomcat6 server test
#
# Given A frontend with application servers deployment
  @runner = VirtualMonkey::FeAppRunner.new(ENV['DEPLOYMENT'])

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

# Then I should set a variation for connecting to shared database host
  @runner.set_var(:set_master_db_dnsname)

# When I launch the "Front End" servers
  @runner.behavior(:launch_set, "Front End")

# Then I should wait for the state of "Front End" servers to be "booting"
  @runner.behavior(:wait_for_set, "Front End", "booting")

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

# Then I should set a variation LB_HOSTNAME
  @runner.set_var(:set_lb_hostname)

# When I launch the "App Server" servers
  @runner.behavior(:launch_set, "App Server")

# Then I should wait for the state of "App Server" servers to be "booting"
  @runner.behavior(:wait_for_set, "App Server", "booting")

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

# Then I should cross connect the frontends
  @runner.behavior(:cross_connect_frontends)

# Then I should run unified application checks
  @runner.behavior(:run_unified_application_checks, @runner.send(:app_servers))

# Then I should run frontend checks
  @runner.behavior(:frontend_checks)

# Then I should run log rotation checks
  @runner.behavior(:log_rotation_checks)

# Then I should test reboot operations on the deployment
  @runner.behavior(:run_reboot_operations)

# 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/tomcat6.rb