[
https://issues.apache.org/jira/browse/MESOS-4695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benjamin Bannier updated MESOS-4695:
------------------------------------
Shepherd: Till Toenshoff
> SlaveTest.StateEndpoint is flaky
> --------------------------------
>
> Key: MESOS-4695
> URL: https://issues.apache.org/jira/browse/MESOS-4695
> Project: Mesos
> Issue Type: Bug
> Components: test
> Environment: Ubuntu 15.10, gcc 4.9
> Reporter: Joseph Wu
> Assignee: Benjamin Bannier
> Labels: flaky, mesosphere, test
>
> {code}
> [ RUN ] SlaveTest.StateEndpoint
> ../../src/tests/slave_tests.cpp:1220: Failure
> Value of: state.values["start_time"].as<JSON::Number>().as<int>()
> Actual: 1458159086
> Expected: static_cast<int>(Clock::now().secs())
> Which is: 1458159085
> [ FAILED ] SlaveTest.StateEndpoint (193 ms)
> {code}
> Even though this test does {{Clock::pause()}} before starting the agent,
> there's a possibility that a numified-stringified double to not equal itself,
> even after rounding to the nearest int.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)