[ https://issues.apache.org/jira/browse/MESOS-2637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14600087#comment-14600087 ]
Colin Williams commented on MESOS-2637: --------------------------------------- I'll do that, thanks for your help so far. On Jun 24, 2015 2:19 PM, "Niklas Quarfot Nielsen (JIRA)" <j...@apache.org> > Consolidate 'foo', 'bar', ... string constants in test and example code > ----------------------------------------------------------------------- > > Key: MESOS-2637 > URL: https://issues.apache.org/jira/browse/MESOS-2637 > Project: Mesos > Issue Type: Bug > Components: technical debt > Reporter: Niklas Quarfot Nielsen > Assignee: Colin Williams > > We are using 'foo', 'bar', ... string constants and pairs in > src/tests/master_tests.cpp, src/tests/slave_tests.cpp, > src/tests/hook_tests.cpp and src/examples/test_hook_module.cpp for label and > hooks tests. These values should be stored in local variables to avoid the > possibility of assignment getting out of sync with checking for that same > value. -- This message was sent by Atlassian JIRA (v6.3.4#6332)