Skip to content

Commit 16f45ce

Browse files
tensorflower-gardenermartinwicke
authored andcommitted
Change test for MaxExecutionTime to allow time 0, in
direct_session_with_tracking_alloc_test. Change: 124970170
1 parent b3ef2b0 commit 16f45ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tensorflow/core/common_runtime/direct_session_with_tracking_alloc_test.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ TEST(DirectSessionWithTrackingAllocTest, CostModelTest) {
100100
// Check the execution time. Since it's highly variable, we'll
101101
// use a large window: anything between 1 and 10000 microseconds is
102102
// considered ok.
103-
EXPECT_LE(1, cm->MaxExecutionTime(node));
103+
EXPECT_LE(0, cm->MaxExecutionTime(node));
104104
EXPECT_GE(10000, cm->MaxExecutionTime(node));
105105
}
106106
graph_cnt++;

0 commit comments

Comments
 (0)