Skip to content

Instantly share code, notes, and snippets.

View juanbrein's full-sized avatar

Juan Paulo Breinlinger juanbrein

View GitHub Profile
require 'spec_helper'
describe 'Running mysql percona container' do
it 'should have mysql-server' do
expect(file('/usr/sbin/mysqld')).to exist
end
it 'should have mysql server configuration syntax correct' do
expect(command('mysqld --help').exit_status).to eq 0
end
# Measure disk speed
FILE=/data01/dd-data.raw
dd if=/dev/zero of=$FILE bs=8k count=256k conv=fdatasync; rm -rf $FILE