Skip to content

ImageView2D_tests start getting flaky #351

@k-dominik

Description

@k-dominik

Maybe good to keep track of observations.

  • MacOs with Python 3.10 fails occasionally at tests/imageView2D_test.py::TestImageRendering::test_random_image_render_scaling[upper_left_10x]

    Test Output
    FAILED tests/imageView2D_test.py::TestImageRendering::test_random_image_render_scaling[upper_left_10x] - AssertionError: 
    Arrays are not equal
    
    Mismatched elements: 288 / 288 (100%)
    Max absolute difference among violations: 128
    Max relative difference among violations: 2.
     ACTUAL: array([[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255],
           [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255],
           [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255],...
     DESIRED: array([[  0,   1,   2,   3,   4,   5,   6,   7,   8,   9,  10,  11],
           [  0,   1,   2,   3,   4,   5,   6,   7,   8,   9,  10,  11],
           [  0,   1,   2,   3,   4,   5,   6,   7,   8,   9,  10,  11],...
    

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions