aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/common_runtime/session_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/core/common_runtime/session_test.cc')
-rw-r--r--tensorflow/core/common_runtime/session_test.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/tensorflow/core/common_runtime/session_test.cc b/tensorflow/core/common_runtime/session_test.cc
index feaf29c7bb..1fa5aad60c 100644
--- a/tensorflow/core/common_runtime/session_test.cc
+++ b/tensorflow/core/common_runtime/session_test.cc
@@ -47,8 +47,10 @@ class FakeSessionFactory : public SessionFactory {
return str_util::StartsWith(options.target, "fake");
}
- Session* NewSession(const SessionOptions& options) override {
- return nullptr;
+ Status NewSession(const SessionOptions& options,
+ Session** out_session) override {
+ *out_session = nullptr;
+ return Status::OK();
}
};
class FakeSessionRegistrar {