Test macros in tests/utils.hpp aren't robust
--------------------------------------------

                 Key: MESOS-59
                 URL: https://issues.apache.org/jira/browse/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 error.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to