aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/session_bundle
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2017-09-05 21:20:29 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-09-05 21:25:15 -0700
commit2b875bdfd188ba66fba5642dc49abf6bb0f9881f (patch)
treefedc99532f532d9d28c0a61c1237f97c11c6214d /tensorflow/contrib/session_bundle
parent406854e358df5f6b2e617b4eaa790c9e119e40d1 (diff)
Increase session_bundle_test to a medium test.
PiperOrigin-RevId: 167672587
Diffstat (limited to 'tensorflow/contrib/session_bundle')
-rw-r--r--tensorflow/contrib/session_bundle/BUILD2
-rw-r--r--tensorflow/contrib/session_bundle/session_bundle_test.cc3
2 files changed, 3 insertions, 2 deletions
diff --git a/tensorflow/contrib/session_bundle/BUILD b/tensorflow/contrib/session_bundle/BUILD
index 596c4f351c..ebb7a21856 100644
--- a/tensorflow/contrib/session_bundle/BUILD
+++ b/tensorflow/contrib/session_bundle/BUILD
@@ -234,7 +234,7 @@ cc_library(
cc_test(
name = "session_bundle_test",
- size = "small",
+ size = "medium",
srcs = ["session_bundle_test.cc"],
data = [":session_bundle_half_plus_two"],
# Link in all registered kernels.
diff --git a/tensorflow/contrib/session_bundle/session_bundle_test.cc b/tensorflow/contrib/session_bundle/session_bundle_test.cc
index eb36d79e0f..6d997bac9e 100644
--- a/tensorflow/contrib/session_bundle/session_bundle_test.cc
+++ b/tensorflow/contrib/session_bundle/session_bundle_test.cc
@@ -171,7 +171,8 @@ void BasicTest(const string& export_path) {
// SessionBundles. Concurrent with adding this test, we had a leak where the
// TensorFlow Session was not being closed, which leaked memory.
// TODO(b/31711147): Increase the SessionBundle ResourceLeakTest iterations and
-// move outside of the test suite.
+// move outside of the test suite; decrease test size back to small at the same
+// time.
TEST(LoadSessionBundleFromPath, ResourceLeakTest) {
const string export_path = test_util::TestSrcDirPath(kExportPath);
for (int i = 0; i < 100; i++) {