Repository: mesos Updated Branches: refs/heads/master 189efed86 -> b95312d44
Windows: Fixed build due to uses of `flags.switch_user`. While this test was disabled (at runtime) on Windows, it did not build because the field does not exist on Windows. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/b95312d4 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/b95312d4 Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/b95312d4 Branch: refs/heads/master Commit: b95312d4493b515c291f9e1871d1a7ef1db33b9a Parents: 189efed Author: Andrew Schwartzmeyer <[email protected]> Authored: Fri Apr 20 12:20:57 2018 -0700 Committer: Andrew Schwartzmeyer <[email protected]> Committed: Fri Apr 20 12:20:57 2018 -0700 ---------------------------------------------------------------------- src/tests/slave_tests.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/b95312d4/src/tests/slave_tests.cpp ---------------------------------------------------------------------- diff --git a/src/tests/slave_tests.cpp b/src/tests/slave_tests.cpp index 4cda395..ae82438 100644 --- a/src/tests/slave_tests.cpp +++ b/src/tests/slave_tests.cpp @@ -1262,13 +1262,13 @@ TEST_F(SlaveTest, DISABLED_ROOT_RunTaskWithCommandInfoWithUser) driver.stop(); driver.join(); } -#endif // __WINDOWS__ // This test verifies that the agent gracefully drops tasks when // a scheduler launches as a user that is not present on the agent. -TEST_F_TEMP_DISABLED_ON_WINDOWS( - SlaveTest, ROOT_RunTaskWithCommandInfoWithInvalidUser) +// +// TODO(andschwa): Enable after `flags.switch_user` is added. +TEST_F(SlaveTest, ROOT_RunTaskWithCommandInfoWithInvalidUser) { Try<Owned<cluster::Master>> master = StartMaster(); ASSERT_SOME(master); @@ -1350,6 +1350,7 @@ TEST_F_TEMP_DISABLED_ON_WINDOWS( driver.stop(); driver.join(); } +#endif // __WINDOWS__ // This test ensures that a status update acknowledgement from a
