Fix one comment in prefetch_autotuner_test.cc.
authorRuoxin Sang <rxsang@google.com>
Thu, 31 May 2018 23:01:50 +0000 (16:01 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Thu, 31 May 2018 23:07:03 +0000 (16:07 -0700)
PiperOrigin-RevId: 198794897

tensorflow/core/kernels/data/prefetch_autotuner_test.cc

index 2f573dfb3555b2466d84c6341eaa77e69414d103..29a8cc50cde8e6c2feb53f3e89d263c83924dd80 100644 (file)
@@ -33,7 +33,7 @@ TEST(PrefetchAutotuner, Disabled) {
 TEST(PrefetchAutotuner, Enabled) {
   PrefetchAutotuner t(PrefetchAutotuner::kAutoTune);
   EXPECT_EQ(1, t.buffer_limit());
-  t.RecordConsumption(0);  // Expect buffer limit to increase.
+  t.RecordConsumption(0);  // Expect buffer limit to stay the same.
   EXPECT_EQ(1, t.buffer_limit());
   t.RecordConsumption(1);
   EXPECT_EQ(1, t.buffer_limit());