- 
    Bug 
- 
    Resolution: Fixed
- 
     P4 P4
- 
    jfx20
- 
        b08
                    On my MacBook Pro M1 system, I consistently get the following system test failures in PixelBufferDrawTest:
PixelBufferDrawTest > testByteBgraPreIndirectBuffer FAILED
java.lang.AssertionError: expected:<0.10000000149011612> but was:<0.10588235408067703>
PixelBufferDrawTest > testIntArgbPreDirectBuffer FAILED
java.lang.AssertionError: expected:<0.10000000149011612> but was:<0.10588235408067703>
PixelBufferDrawTest > testByteBgraPreDirectBuffer FAILED
java.lang.AssertionError: expected:<0.10000000149011612> but was:<0.10588235408067703>
PixelBufferDrawTest > testIntArgbPreIndirectBuffer FAILED
java.lang.AssertionError: expected:<0.10000000149011612> but was:<0.10588235408067703>
This is a problem with the test not having enough tolerance; the test uses a delta value of 0.005 and the observed difference on my system is slightly greater than that (by contrast, our other Robot tests use a much larger delta of 0.07). If I locally modify my test to use a delta of 0.01 (which is still 7 times tighter than most of our robot tests), they all pass.
PixelBufferDrawTest > testByteBgraPreIndirectBuffer FAILED
java.lang.AssertionError: expected:<0.10000000149011612> but was:<0.10588235408067703>
PixelBufferDrawTest > testIntArgbPreDirectBuffer FAILED
java.lang.AssertionError: expected:<0.10000000149011612> but was:<0.10588235408067703>
PixelBufferDrawTest > testByteBgraPreDirectBuffer FAILED
java.lang.AssertionError: expected:<0.10000000149011612> but was:<0.10588235408067703>
PixelBufferDrawTest > testIntArgbPreIndirectBuffer FAILED
java.lang.AssertionError: expected:<0.10000000149011612> but was:<0.10588235408067703>
This is a problem with the test not having enough tolerance; the test uses a delta value of 0.005 and the observed difference on my system is slightly greater than that (by contrast, our other Robot tests use a much larger delta of 0.07). If I locally modify my test to use a delta of 0.01 (which is still 7 times tighter than most of our robot tests), they all pass.
 
        