File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
google-cloud-storage/src/test/java/com/google/cloud/storage/it Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2125,11 +2125,11 @@ public void testDownloadPublicBlobWithoutAuthentication() {
21252125
21262126 // try to download blobs from a public bucket
21272127 String landsatBucket = "gcp-public-data-landsat" ;
2128- String landsatPrefix = "LC08/PRE/044/034/LC80440342016259LGN00 /" ;
2129- String landsatBlob = landsatPrefix + "LC80440342016259LGN00_MTL .txt" ;
2128+ String landsatPrefix = "LC08/01/001/002/LC08_L1GT_001002_20160817_20170322_01_T2 /" ;
2129+ String landsatBlob = landsatPrefix + "LC08_L1GT_001002_20160817_20170322_01_T2_ANG .txt" ;
21302130 byte [] bytes = unauthorizedStorage .readAllBytes (landsatBucket , landsatBlob );
21312131
2132- assertThat (bytes .length ).isEqualTo (7903 );
2132+ assertThat (bytes .length ).isEqualTo (117255 );
21332133 int numBlobs = 0 ;
21342134 Iterator <Blob > blobIterator =
21352135 unauthorizedStorage
@@ -2140,7 +2140,7 @@ public void testDownloadPublicBlobWithoutAuthentication() {
21402140 numBlobs ++;
21412141 blobIterator .next ();
21422142 }
2143- assertThat (numBlobs ).isEqualTo (13 );
2143+ assertThat (numBlobs ).isEqualTo (14 );
21442144
21452145 // try to download blobs from a bucket that requires authentication
21462146 // authenticated client will succeed
You can’t perform that action at this time.
0 commit comments