[
https://issues.apache.org/jira/browse/MESOS-8343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joseph Wu reassigned MESOS-8343:
--------------------------------
Resolution: Fixed
Assignee: Meng Zhu
Fix Version/s: 1.8.0
{code}
commit 15b78fa5f4bd0968ecf168c32e8b6bbb0e822688
Author: Meng Zhu <[email protected]>
Date: Fri Oct 26 15:19:27 2018 -0700
Fixed flaky test `SchedulerHttpApiTest.UpdatePidToHttpScheduler`.
The test was flaky due to a race between scheduler driver stopping
during test teardown and the scheduler `error()` invocation.
Adding the missing synchronization for the expectation should
eliminate the race.
Review: https://reviews.apache.org/r/69176/
{code}
> SchedulerHttpApiTest.UpdatePidToHttpScheduler is flaky.
> -------------------------------------------------------
>
> Key: MESOS-8343
> URL: https://issues.apache.org/jira/browse/MESOS-8343
> Project: Mesos
> Issue Type: Bug
> Components: test
> Affects Versions: 1.4.1
> Environment: Ubuntu 17.04 CMake
> Reporter: Alexander Rukletsov
> Assignee: Meng Zhu
> Priority: Major
> Labels: flaky-test
> Fix For: 1.8.0
>
> Attachments: UpdatePidToHttpScheduler-badrun.txt
>
>
> {noformat}
> /home/ubuntu/workspace/mesos/Mesos_CI-build/FLAG/CMake/label/mesos-ec2-ubuntu-17.04/mesos/src/tests/scheduler_http_api_tests.cpp:504
> Actual function call count doesn't match EXPECT_CALL(sched, error(_, _))...
> Expected: to be called once
> Actual: never called - unsatisfied and active
> {noformat}
> Full log attached.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)