@@ -621,26 +621,6 @@ TEST(RetryingFileSystemTest, FileExists_SuccessWith2ndTry) {
621
621
TF_EXPECT_OK (fs.FileExists (" gs://path/dir" ));
622
622
}
623
623
624
- TEST (RetryingFileSystemTest, FileExists_AllRetriesFailed) {
625
- ExpectedCalls expected_fs_calls = CreateRetriableErrors (" FileExists" , 6 );
626
- std::unique_ptr<MockFileSystem> base_fs (
627
- new MockFileSystem (expected_fs_calls));
628
- RetryingFileSystem fs (std::move (base_fs), 0 );
629
-
630
- EXPECT_EQ (" Retriable error #5" , fs.FileExists (" file_name" ).error_message ());
631
- }
632
-
633
- TEST (RetryingFileSystemTest, FileExists_SuccessWith2ndTry) {
634
- ExpectedCalls expected_fs_calls (
635
- {std::make_tuple (" FileExists" , errors::Unavailable (" Something is wrong" )),
636
- std::make_tuple (" FileExists" , Status::OK ())});
637
- std::unique_ptr<MockFileSystem> base_fs (
638
- new MockFileSystem (expected_fs_calls));
639
- RetryingFileSystem fs (std::move (base_fs), 0 );
640
-
641
- TF_EXPECT_OK (fs.FileExists (" gs://path/dir" ));
642
- }
643
-
644
624
TEST (RetryingFileSystemTest, IsDirectory_SuccessWith2ndTry) {
645
625
ExpectedCalls expected_fs_calls (
646
626
{std::make_tuple (" IsDirectory" ,
0 commit comments