Skip to content

Commit

Permalink
[Impeller] fix flake in compute unittests. (flutter#50308)
Browse files Browse the repository at this point in the history
Locally I don't get a validation error about endEncoding.
  • Loading branch information
jonahwilliams committed Feb 3, 2024
1 parent 23763db commit 20742e3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion impeller/renderer/compute_unittests.cc
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,8 @@ TEST_P(ComputeTest, ReturnsEarlyWhenAnyGridDimensionIsZero) {

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

} // namespace testing
Expand Down

0 comments on commit 20742e3

Please sign in to comment.