Skip to content

Commit

Permalink
test-renderers: Permit difference of 1 in emission test.
Browse files Browse the repository at this point in the history
  • Loading branch information
kpreid committed Oct 14, 2023
1 parent c0a4e16 commit c28079b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test-renderers/src/test_cases.rs
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,11 @@ async fn emission(mut context: RenderTestContext) {
&universe,
);

// In CI, macOS on GitHub Actions, this test sometimes produces a 1-level difference.
// I don't know why, but it's presumably some kind of nondeterministic rounding, not
// really worth worrying about...? None of the non-emissive tests have this problem.
context
.render_comparison_test(0, cameras, Overlays::NONE)
.render_comparison_test(1, cameras, Overlays::NONE)
.await;
}

Expand Down

0 comments on commit c28079b

Please sign in to comment.