| 162 | } |
| 163 | |
| 164 | void BasicTest(const string& export_path) { |
| 165 | SessionOptions options; |
| 166 | SessionBundle bundle; |
| 167 | TF_ASSERT_OK(LoadSessionBundleFromPath(options, export_path, &bundle)); |
| 168 | CheckSessionBundle(export_path, bundle); |
| 169 | } |
| 170 | |
| 171 | // Test for resource leaks when loading and unloading large numbers of |
| 172 | // SessionBundles. Concurrent with adding this test, we had a leak where the |
no test coverage detected