Skip to content

Commit 3acefe1

Browse files
mprekajskicopybara-github
authored andcommitted
Fix the test order dependency.
If EvalCompilerCacheTest.CacheHit is executed after EvalCompilerCacheTest.DifferentOrderOfOperands, the first EXPECT_FALSE fails. PiperOrigin-RevId: 715260394 Change-Id: Ie45eaf7e89f6e922cc1dce3148970a96428240bb
1 parent f326928 commit 3acefe1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

koladata/operators/arolla_bridge_test.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -980,6 +980,7 @@ TEST(EvalCompilerCacheTest, CacheHits) {
980980
auto int_2 = tv_int_2.AsRef();
981981
auto float_1 = tv_float_1.AsRef();
982982

983+
ClearCompilationCache();
983984
EXPECT_FALSE(compiler_internal::Lookup("math.add", {int_1, float_1}));
984985
EXPECT_OK(EvalExpr("math.add", {int_1, float_1}).status());
985986
EXPECT_TRUE(compiler_internal::Lookup("math.add", {int_1, float_1}));

0 commit comments

Comments
 (0)