Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-24076

TestQuotasShell is broken

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 2.1.10
    • shell
    • None
    • Reviewed

    Description

      ===============================================================================
      ^[[41;37;1mFailure^[[0m: <false> is not true.
      test_can_set_and_remove_quota(Hbase::SpaceQuotasTest)
      src/test/ruby/hbase/quotas_test.rb:183:in `block in test_can_set_and_remove_quota'
           180:     define_test 'can set and remove quota' do
           181:       command(:set_quota, TYPE => SPACE, LIMIT => '1G', POLICY => NO_INSERTS, TABLE => @test_name)
           182:       output = capture_stdout{ command(:list_quotas) }
      ^[[41;37;1m  => 183:       assert(output.include?("LIMIT => 1G"))^[[0m
           184:       assert(output.include?("VIOLATION_POLICY => NO_INSERTS"))
           185:       assert(output.include?("TYPE => SPACE"))
           186:       assert(output.include?("TABLE => #{@test_name}"))
      ===============================================================================
      

      At least on branch-2.1.

      Attachments

        Issue Links

          Activity

            People

              zhangduo Duo Zhang
              zhangduo Duo Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: