[
https://issues.apache.org/jira/browse/MESOS-8482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alexander Rukletsov updated MESOS-8482:
---------------------------------------
Labels: mesosphere newbie tech-debt (was: )
> 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
> Priority: Major
> Labels: mesosphere, newbie, tech-debt
>
> 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)