incubator-mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Charles Reiss (Created) (JIRA)" <>
Subject [jira] [Created] (MESOS-59) Test macros in tests/utils.hpp aren't robust
Date Wed, 02 Nov 2011 23:41:32 GMT
Test macros in tests/utils.hpp aren't robust

                 Key: MESOS-59
             Project: Mesos
          Issue Type: Bug
          Components: test
            Reporter: Charles Reiss
            Assignee: Charles Reiss
            Priority: Trivial

The EXPECT_MSG macro in tests/utils.hpp won't work if the MockFilter object is called anythig
but filter (because it's the method and macro argument name).

The WAIT_UNTIL macro in tests/utils.hpp doesn't put parens around its argument so something
like WAIT_UNTIL(&trigger) will always return immediately instead of causing a compilation

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message