Sha256: cc5d93e78ed55da7f6976b2f54a94630c4332eb427d5c961f69cc1cdc8617f88

Contents?: true

Size: 273 Bytes

Versions: 2

Compression:

Stored size: 273 Bytes

Contents

require 'minitest_helper'

describe "lock nesting" do
  it "warns about MySQL releasing advisory locks" do
    skip if env_db != 'mysql'

    Tag.expects(:wal_log)
    Tag.with_advisory_lock("first") do
      Tag.with_advisory_lock("second") do
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
with_advisory_lock-0.0.4 test/mysql_nesting_test.rb
with_advisory_lock-0.0.3 test/mysql_nesting_test.rb