This is an automated email from the ASF dual-hosted git repository. qianzhang pushed a commit to branch 1.4.x in repository https://gitbox.apache.org/repos/asf/mesos.git
commit cb492ccdc949a5b2be07f41c42f9db1186596ed8 Author: Gilbert Song <[email protected]> AuthorDate: Fri Apr 12 17:13:58 2019 +0800 Fixed the URI fetcher image fetch test failure on windows. Review: https://reviews.apache.org/r/70398/ --- src/tests/uri_fetcher_tests.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/tests/uri_fetcher_tests.cpp b/src/tests/uri_fetcher_tests.cpp index 5a29c5a..b89e9bd 100644 --- a/src/tests/uri_fetcher_tests.cpp +++ b/src/tests/uri_fetcher_tests.cpp @@ -351,7 +351,8 @@ TEST_F(DockerFetcherPluginTest, INTERNET_CURL_FetchImage) EXPECT_EQ("application/vnd.docker.distribution.manifest.v2+json", manifest->mediatype()); - EXPECT_TRUE(os::exists(path::join(dir, manifest->config().digest()))); + EXPECT_TRUE(os::exists(DockerFetcherPlugin::getBlobPath( + dir, manifest->config().digest()))); for (int i = 0; i < manifest->layers_size(); i++) { EXPECT_TRUE(os::exists( @@ -388,7 +389,8 @@ TEST_F(DockerFetcherPluginTest, INTERNET_CURL_InvokeFetchByName) EXPECT_EQ("application/vnd.docker.distribution.manifest.v2+json", manifest->mediatype()); - EXPECT_TRUE(os::exists(path::join(dir, manifest->config().digest()))); + EXPECT_TRUE(os::exists(DockerFetcherPlugin::getBlobPath( + dir, manifest->config().digest()))); for (int i = 0; i < manifest->layers_size(); i++) { EXPECT_TRUE(os::exists(
