File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
tensorflow_serving/servables/tensorflow/oss Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -22,15 +22,15 @@ limitations under the License.
22
22
namespace tensorflow {
23
23
namespace serving {
24
24
25
- Status EstimateMainRamBytesFromValidationResult (const string& path,
26
- ResourceAllocation* estimate) {
25
+ absl:: Status EstimateMainRamBytesFromValidationResult (
26
+ const string& path, ResourceAllocation* estimate) {
27
27
return errors::Unimplemented (" Reading validation results is not supported" );
28
28
}
29
29
30
- Status EstimateMainRamBytesFromPath (const string& path,
31
- bool use_validation_result,
32
- FileProbingEnv* env,
33
- ResourceAllocation* estimate) {
30
+ absl:: Status EstimateMainRamBytesFromPath (const string& path,
31
+ bool use_validation_result,
32
+ FileProbingEnv* env,
33
+ ResourceAllocation* estimate) {
34
34
return EstimateResourceFromPathUsingDiskState (path, env, estimate);
35
35
}
36
36
Original file line number Diff line number Diff line change @@ -46,15 +46,15 @@ class ResourceEstimatorTest : public ::testing::Test {
46
46
// Set up the expectation that the directory contains exactly one child with
47
47
// the given file size.
48
48
EXPECT_CALL (env_, FileExists (export_dir_))
49
- .WillRepeatedly (Return (Status ()));
49
+ .WillRepeatedly (Return (absl:: Status ()));
50
50
EXPECT_CALL (env_, GetChildren (export_dir_, _))
51
51
.WillRepeatedly (DoAll (SetArgPointee<1 >(std::vector<string>({child})),
52
- Return (Status ())));
52
+ Return (absl:: Status ())));
53
53
EXPECT_CALL (env_, IsDirectory (child_path))
54
54
.WillRepeatedly (Return (errors::FailedPrecondition (" " )));
55
55
EXPECT_CALL (env_, GetFileSize (child_path, _))
56
56
.WillRepeatedly (
57
- DoAll (SetArgPointee<1 >(file_size_), Return (Status ())));
57
+ DoAll (SetArgPointee<1 >(file_size_), Return (absl:: Status ())));
58
58
}
59
59
60
60
string export_dir_;
You can’t perform that action at this time.
0 commit comments