diff options
author | 2018-07-17 15:03:38 -0700 | |
---|---|---|
committer | 2018-07-17 15:07:54 -0700 | |
commit | e56a5b8ec24bb3d3b9073bb6fcbaf57c70fcecb6 (patch) | |
tree | 817fef2318b995ae5523f022726f2ca53c1e74d6 /tensorflow/core/common_runtime/session_test.cc | |
parent | dae05946b74222880fd4bf731ea5c8feab4e37c6 (diff) |
Automated rollback of commit 2936833c7e22c102ff2b82e3f4e261b94602fbcc
PiperOrigin-RevId: 204981602
Diffstat (limited to 'tensorflow/core/common_runtime/session_test.cc')
-rw-r--r-- | tensorflow/core/common_runtime/session_test.cc | 6 |
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 { |