Skip to content

Commit

Permalink
skip memcached tests on ruby 3.3.0 as the gem does not compile
Browse files Browse the repository at this point in the history
  • Loading branch information
skaes committed Feb 5, 2024
1 parent ab26eac commit 168f60e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ gem "ansi"
gem "appraisal"
gem "byebug"
gem "dalli"
gem "memcached", "~> 1.8.0"
gem "memcached", "~> 1.8.0" if RUBY_VERSION < "3.3.0"
gem "minitest"
gem "mocha"
gem "mysql2"
Expand Down
1 change: 1 addition & 0 deletions test/unit/memcached_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

class MemcachedTest < Test::Unit::TestCase
def setup
skip "memcached is currently not supported on Ruby #{RUBY_VERSION} as the gem does not compile" unless RUBY_VERSION < "3.3.0"
TimeBandits.time_bandits = []
TimeBandits.add TimeBandits::TimeConsumers::Memcached
TimeBandits.reset
Expand Down

0 comments on commit 168f60e

Please sign in to comment.