-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/44219/#review121522
-----------------------------------------------------------



Master (8f98e6e) is red with this patch.
  ./build-support/jenkins/build.sh

                           
self._clock.converge(threads=[hct.threaded_health_checker])
                           
self._clock.assert_waiting(hct.threaded_health_checker, amount=1)
                         
                           assert hct._total_latency == 0
                           assert 
hct.metrics.sample()['total_latency_secs'] == 0
                         
                           # start the health check (during health check it 
is still 0)
                           epsilon = 0.001
                           self._clock.tick(1.0 + epsilon)
                           
self._clock.converge(threads=[hct.threaded_health_checker])
                           
self._clock.assert_waiting(hct.threaded_health_checker, amount=0.5)
                           assert hct._total_latency == 0
                           assert 
hct.metrics.sample()['total_latency_secs'] == 0
                           assert hct.metrics.sample()['checks'] == 0
                         
                           # finish the health check
                           self._clock.tick(0.5 + epsilon)
                           
self._clock.converge(threads=[hct.threaded_health_checker])
                           
self._clock.assert_waiting(hct.threaded_health_checker, amount=1)  # 
interval_secs
                     >     assert hct._total_latency == 0.5
                     E     AssertionError: assert 0.5009999999999999 
== 0.5
                     E      +  where 0.5009999999999999 = 
<apache.aurora.executor.common.health_checker.HealthChecker object at 
0x7f180837a5d0>._total_latency
                     
                     
src/test/python/apache/aurora/executor/common/test_health_checker.py:174: 
AssertionError
                     -------------- Captured stderr call --------------
                     [<twitter.common.testing.clock.ThreadedClock object at 
0x7f180837a210>] Time now: 0.0
                     [<twitter.common.testing.clock.ThreadedClock object at 
0x7f180837a210>] Time now: 0.0
                     [<twitter.common.testing.clock.ThreadedClock object at 
0x7f180837a210>] Time now: 1.0
                     [<twitter.common.testing.clock.ThreadedClock object at 
0x7f180837a210>] Time now: 1.001
                     [<twitter.common.testing.clock.ThreadedClock object at 
0x7f180837a210>] Time now: 1.001
                     [<twitter.common.testing.clock.ThreadedClock object at 
0x7f180837a210>] Time now: 1.501
                     [<twitter.common.testing.clock.ThreadedClock object at 
0x7f180837a210>] Time now: 1.502
                      generated xml file: 
/home/jenkins/jenkins-slave/workspace/AuroraBot/dist/test-results/415337499eb72578eab327a6487c1f5c9452b3d6.xml
 
                      1 failed, 660 passed, 5 skipped, 1 warnings in 
278.12 seconds 
                     
FAILURE


22:21:09 05:34   [complete]
               FAILURE


I will refresh this build result if you post a review containing "@ReviewBot 
retry"

- Aurora ReviewBot


On March 1, 2016, 10:04 p.m., Zameer Manji wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/44219/
> -----------------------------------------------------------
> 
> (Updated March 1, 2016, 10:04 p.m.)
> 
> 
> Review request for Aurora and John Sirois.
> 
> 
> Repository: aurora
> 
> 
> Description
> -------
> 
> This completes the TODO in Tasks.java by removing the unused code.
> 
> 
> Diffs
> -----
> 
>   src/main/java/org/apache/aurora/scheduler/base/Tasks.java 
> 9f625c775544d9ae4d8e5b15e1fc824ed4a876c8 
> 
> Diff: https://reviews.apache.org/r/44219/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Zameer Manji
> 
>

Reply via email to