Sha256: 37617714de922a1f66ae8c6ee1966f17262d5c8e4c2b67c7d244375ea84e797c

Contents?: true

Size: 566 Bytes

Versions: 1

Compression:

Stored size: 566 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/spec_helper')

describe "bug #3518" do
  before(:all) do
    raise "for this spec to run, you must have a mysql deployment nickname in $DEPLOYMENT variable" unless ENV['DEPLOYMENT']
    @runner = VirtualMonkey::MysqlRunner.new(ENV['DEPLOYMENT'])
    @runner.lookup_scripts
    @runner.setup_dns
  end
  it "disables binlogs on the old master after promote" do
    @runner.run_promotion_operations
    oldmaster = @runner.servers.last 
    oldmaster.settings
    puts "oldmaster is #{oldmaster.dns_name}"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
virtualmonkey-0.0.1 spec/bug3518.rb