This is an automated email from the ASF dual-hosted git repository. qianzhang pushed a commit to branch 1.6.x in repository https://gitbox.apache.org/repos/asf/mesos.git
commit ebb1b5610c405a34665dba86760968b013d721d6 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 44f1cc9..1d2d2b8 100644 --- a/src/tests/uri_fetcher_tests.cpp +++ b/src/tests/uri_fetcher_tests.cpp @@ -356,7 +356,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( @@ -393,7 +394,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(
