Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 20742e3

Browse files
author
Jonah Williams
authored
[Impeller] fix flake in compute unittests. (#50308)
Locally I don't get a validation error about endEncoding.
1 parent 23763db commit 20742e3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

impeller/renderer/compute_unittests.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,8 @@ TEST_P(ComputeTest, ReturnsEarlyWhenAnyGridDimensionIsZero) {
495495

496496
// Intentionally making the grid size zero in one dimension. No GPU will
497497
// tolerate this.
498-
ASSERT_FALSE(pass->Compute(ISize(0, 1)).ok());
498+
EXPECT_FALSE(pass->Compute(ISize(0, 1)).ok());
499+
pass->EncodeCommands();
499500
}
500501

501502
} // namespace testing

0 commit comments

Comments
 (0)