Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-2232

Suppress MockAllocator::transformAllocation() warnings.

Attach filesAttach ScreenshotVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.22.0
    • test
    • None
    • Twitter Mesos Q1 Sprint 1
    • 3

    Description

      After transforming allocated resources feature was added to allocator, a number of warnings are popping out for allocator tests. Commits leading to this behaviour:
      dacc88292cc13d4b08fe8cda4df71110a96cb12a
      5a02d5bdc75d3b1149dcda519016374be06ec6bd
      corresponding reviews:
      https://reviews.apache.org/r/29083
      https://reviews.apache.org/r/29084

      Here is an example:

      [ RUN ] MasterAllocatorTest/0.FrameworkReregistersFirst GMOCK WARNING: Uninteresting mock function call - taking default action specified at: ../../../src/tests/mesos.hpp:719: Function call: transformAllocation(@0x7fd3bb5274d8 20150115-185632-1677764800-59671-44186-0000, @0x7fd3bb5274f8 20150115-185632-1677764800-59671-44186-S0, @0x1119140e0 16-byte object <F0-5E 52-BB D3-7F 00-00 C0-5F 52-BB D3-7F 00-00>) Stack trace: [ OK ] MasterAllocatorTest/0.FrameworkReregistersFirst (204 ms)
      

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            bmahler Benjamin Mahler
            alexr Alex R
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Agile

                Completed Sprint:
                Twitter Mesos Q1 Sprint 1 ended 02/Feb/15
                View on Board

                Slack

                  Issue deployment