Skip to content

InteractiveArnoldRenderTest : Fix intermittent failure on macOS#7015

Open
murraystevenson wants to merge 1 commit into
mainfrom
arnoldQuadLightTestFixMacCI
Open

InteractiveArnoldRenderTest : Fix intermittent failure on macOS#7015
murraystevenson wants to merge 1 commit into
mainfrom
arnoldQuadLightTestFixMacCI

Conversation

@murraystevenson

Copy link
Copy Markdown
Contributor

When testQuadLightTextureEdits is run on macOS it occasionally fails with:

File "/Users/runner/work/gaffer/gaffer/build/arnold/7.4/python/GafferArnoldTest/InteractiveArnoldRenderTest.py", line 349, in testQuadLightTextureEdits
    self.assertAlmostEqual( self._color4fAtUV( s["catalogue"], imath.V2f( 0.5 ) ).g, 0, delta = 0.01 )
AssertionError: 0.030833924189209938 != 0 within 0.01 delta (0.030833924189209938 difference)

Which looks like the green channel might just need a bit more time to converge, so we now wrap this assert in an assertEventually like the other asserts in this test.

When testQuadLightTextureEdits is run on macOS it occasionally fails with:

```
File "/Users/runner/work/gaffer/gaffer/build/arnold/7.4/python/GafferArnoldTest/InteractiveArnoldRenderTest.py", line 349, in testQuadLightTextureEdits
    self.assertAlmostEqual( self._color4fAtUV( s["catalogue"], imath.V2f( 0.5 ) ).g, 0, delta = 0.01 )
AssertionError: 0.030833924189209938 != 0 within 0.01 delta (0.030833924189209938 difference)
```

Which looks like the green channel might just need a bit more time to converge, so we now wrap this assert in an assertEventually like the other asserts in this test.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Pending Review

Development

Successfully merging this pull request may close these issues.

1 participant