diff --git a/hbase-shell/src/test/ruby/hbase/admin_test.rb b/hbase-shell/src/test/ruby/hbase/admin_test.rb index 1d90c20255a..5feffa4a04a 100644 --- a/hbase-shell/src/test/ruby/hbase/admin_test.rb +++ b/hbase-shell/src/test/ruby/hbase/admin_test.rb @@ -108,7 +108,7 @@ module Hbase #------------------------------------------------------------------------------- define_test "compaction_state should work" do - command(:compaction_state, 'hbase:meta') + admin.compaction_state('hbase:meta') end #-------------------------------------------------------------------------------