TEST(FakeExtWrapper, normal_3segs) { ExtWrapperTest("http://localhost/metro.pivotal.io/", 64 * 1024, "4d9ccad20bca50d2d1bc9c4eb4958e2c", 0, 3, 64 * 1024 * 1024); ExtWrapperTest("http://localhost/metro.pivotal.io/", 64 * 1024, "561597859d093905e2b21e896259ae79", 1, 3, 64 * 1024 * 1024); ExtWrapperTest("http://localhost/metro.pivotal.io/", 64 * 1024, "98d4e5348356ceee46d15c4e5f37845b", 2, 3, 64 * 1024 * 1024); }
TEST(FakeExtWrapper, normal_4segs) { ExtWrapperTest("http://localhost/metro.pivotal.io/", 64 * 1024, "b87b5d79e2bcb8dc1d0fd289fbfa5829", 0, 4, 64 * 1024 * 1024); ExtWrapperTest("http://localhost/metro.pivotal.io/", 64 * 1024, "4df154611d394c60084bb5b97bdb19be", 1, 4, 64 * 1024 * 1024); ExtWrapperTest("http://localhost/metro.pivotal.io/", 64 * 1024, "238affbb831ff27df9d09afeeb2e59f9", 2, 4, 64 * 1024 * 1024); ExtWrapperTest("http://localhost/metro.pivotal.io/", 64 * 1024, "dceb001d03d54d61874d27c9f04596b1", 3, 4, 64 * 1024 * 1024); }
TEST(ExtWrapper, normal_2segs) { ExtWrapperTest( "https://s3-us-west-2.amazonaws.com/s3test.pivotal.io/dataset1/" "small17/", 64 * 1024, "a861acda78891b48b25a2788e028a740", 0, 2, 64 * 1024 * 1024); ExtWrapperTest( "https://s3-us-west-2.amazonaws.com/s3test.pivotal.io/dataset1/" "small17/", 64 * 1024, "db05de0ec7e0808268e2363d3572dc7f", 1, 2, 64 * 1024 * 1024); }
TEST(ExtWrapper, normal2_3segs) { ExtWrapperTest( "https://s3-us-west-2.amazonaws.com/s3test.pivotal.io/dataset2/normal/", 64 * 1024, "1c1b198b246160733f7a3491bff5cd52", 0, 3, 64 * 1024 * 1024); ExtWrapperTest( "https://s3-us-west-2.amazonaws.com/s3test.pivotal.io/dataset2/normal/", 64 * 1024, "296856eb9739d3022b3e9d8bf3b1ea2e", 1, 3, 64 * 1024 * 1024); ExtWrapperTest( "https://s3-us-west-2.amazonaws.com/s3test.pivotal.io/dataset2/normal/", 64 * 1024, "00675684b6d6697571f22baaf407c6df", 2, 3, 64 * 1024 * 1024); }
TEST(ExtWrapper, normal2_3segs) { ExtWrapperTest( "https://s3-us-west-2.amazonaws.com/s3test.pivotal.io/dataset2/normal/", 64 * 1024, "b87b5d79e2bcb8dc1d0fd289fbfa5829", 0, 3, 64 * 1024 * 1024); ExtWrapperTest( "https://s3-us-west-2.amazonaws.com/s3test.pivotal.io/dataset2/normal/", 64 * 1024, "b87b5d79e2bcb8dc1d0fd289fbfa5829", 1, 3, 64 * 1024 * 1024); ExtWrapperTest( "https://s3-us-west-2.amazonaws.com/s3test.pivotal.io/dataset2/normal/", 64 * 1024, "b87b5d79e2bcb8dc1d0fd289fbfa5829", 2, 3, 64 * 1024 * 1024); }
TEST(ExtWrapper, normal_3segs) { ExtWrapperTest( "https://s3-us-west-2.amazonaws.com/s3test.pivotal.io/dataset1/" "small17/", 64 * 1024, "4d9ccad20bca50d2d1bc9c4eb4958e2c", 0, 3, 64 * 1024 * 1024); ExtWrapperTest( "https://s3-us-west-2.amazonaws.com/s3test.pivotal.io/dataset1/" "small17/", 64 * 1024, "561597859d093905e2b21e896259ae79", 1, 3, 64 * 1024 * 1024); ExtWrapperTest( "https://s3-us-west-2.amazonaws.com/s3test.pivotal.io/dataset1/" "small17/", 64 * 1024, "98d4e5348356ceee46d15c4e5f37845b", 2, 3, 64 * 1024 * 1024); }
TEST(ExtWrapper, normal_4segs) { ExtWrapperTest( "https://s3-us-west-2.amazonaws.com/s3test.pivotal.io/dataset1/" "small17/", 64 * 1024, "b87b5d79e2bcb8dc1d0fd289fbfa5829", 0, 4, 64 * 1024 * 1024); ExtWrapperTest( "https://s3-us-west-2.amazonaws.com/s3test.pivotal.io/dataset1/" "small17/", 64 * 1024, "4df154611d394c60084bb5b97bdb19be", 1, 4, 64 * 1024 * 1024); ExtWrapperTest( "https://s3-us-west-2.amazonaws.com/s3test.pivotal.io/dataset1/" "small17/", 64 * 1024, "238affbb831ff27df9d09afeeb2e59f9", 2, 4, 64 * 1024 * 1024); ExtWrapperTest( "https://s3-us-west-2.amazonaws.com/s3test.pivotal.io/dataset1/" "small17/", 64 * 1024, "dceb001d03d54d61874d27c9f04596b1", 3, 4, 64 * 1024 * 1024); }
TEST(FakeExtWrapper, bigfile) { ExtWrapperTest("http://localhost/bigfile/", 64 * 1024, "83c7ab787e3f1d1e7880dcae954ab4a4", 0, 1, 64 * 1024 * 1024); }
TEST(FakeExtWrapper, normal_2segs) { ExtWrapperTest("http://localhost/metro.pivotal.io/", 64 * 1024, "a861acda78891b48b25a2788e028a740", 0, 2, 64 * 1024 * 1024); ExtWrapperTest("http://localhost/metro.pivotal.io/", 64 * 1024, "db05de0ec7e0808268e2363d3572dc7f", 1, 2, 64 * 1024 * 1024); }
TEST(FakeExtWrapper, simple) { ExtWrapperTest("http://localhost/metro.pivotal.io/", 64 * 1024, "138fc555074671912125ba692c678246", 0, 1, 64 * 1024 * 1024); }
TEST(ExtWrapper, huge_1seg) { ExtWrapperTest( "https://s3-us-west-2.amazonaws.com/s3test.pivotal.io/dataset2/" "hugefile/", 64 * 1024, "75baaa39f2b1544ed8af437c2cad86b7", 0, 1, 64 * 1024 * 1024); }
TEST(ExtWrapper, normal) { ExtWrapperTest( "https://s3-us-west-2.amazonaws.com/s3test.pivotal.io/dataset1/" "small17/", 64 * 1024, "138fc555074671912125ba692c678246", 0, 1, 64 * 1024 * 1024); }
TEST(ExtWrapper, normal_region_useast1) { ExtWrapperTest( "https://s3-us-east-1.amazonaws.com/useast1.s3test.pivotal.io/small17/", 64 * 1024, "138fc555074671912125ba692c678246", 0, 1, 64 * 1024 * 1024); }
TEST(ExtWrapper, huge_1seg) { ExtWrapperTest( "https://s3-us-west-2.amazonaws.com/s3test.pivotal.io/dataset2/" "hugefile/", 64 * 1024, "b87b5d79e2bcb8dc1d0fd289fbfa5829", 0, 1, 64 * 1024 * 1024); }