| 137 | }; |
| 138 | |
| 139 | TEST_F(MasterTest, CreateClose) { |
| 140 | GraphDef def; // Empty. |
| 141 | string handle; |
| 142 | int64 initial_version; |
| 143 | TF_ASSERT_OK(CreateSession(def, &handle, &initial_version)); |
| 144 | EXPECT_TRUE(errors::IsAborted(CloseSession("randombits"))); |
| 145 | EXPECT_TRUE(CloseSession(handle).ok()); |
| 146 | } |
| 147 | |
| 148 | TEST_F(MasterTest, ListDevices) { |
| 149 | ::grpc::ClientContext ctx; |
nothing calls this directly
no test coverage detected