16 #include "tensorflow_serving/model_servers/test_util/storage_path_error_injecting_source_adapter.h"
20 #include "tensorflow_serving/core/source_adapter.h"
21 #include "tensorflow_serving/model_servers/test_util/storage_path_error_injecting_source_adapter.pb.h"
23 namespace tensorflow {
31 const StoragePathErrorInjectingSourceAdapterConfig& config,
32 std::unique_ptr<
SourceAdapter<StoragePath, std::unique_ptr<Loader>>>*
36 Status(
static_cast<absl::StatusCode
>(absl::StatusCode::kCancelled),
37 config.error_message())));
41 REGISTER_STORAGE_PATH_SOURCE_ADAPTER(
43 StoragePathErrorInjectingSourceAdapterConfig);