Benno Evers created MESOS-8482:
----------------------------------

             Summary: Signed/Unsigned comparisons in tests
                 Key: MESOS-8482
                 URL: https://issues.apache.org/jira/browse/MESOS-8482
             Project: Mesos
          Issue Type: Bug
            Reporter: Benno Evers


Many tests in mesos currently have comparisons between signed and unsigned 
integers, eg
{noformat}
    ASSERT_EQ(4, v1Response->read_file().size());
{noformat}
or comparisons between values of different enums, e.g. TaskState and 
v1::TaskState:
{noformat}
  ASSERT_EQ(TASK_STARTING, startingUpdate->status().state());
{noformat}
Usually, the compiler would catch these and emit a warning, but these are 
currently silenced because gtest headers are included using the `-isystem` 
command line flag.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to