Skip to content

Tests: LayerTest.test_dynamic_http_port is flaky #772

@amotl

Description

@amotl

Problem

Because some spots of the test suite are flaky, after recent refactorings, we are now receiving this

tests/testing/test_layer.py:315: 

crate_layer = <crate.testing.layer.CrateLayer object at 0x103b1fac0>

    def num_cluster_nodes(crate_layer):
>       sql_uri = crate_layer.crate_servers[0] + "/_sql"
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E       IndexError: list index out of range

-- https://github.com/crate/crate-python/actions/runs/21165186634/job/60907808795?pr=771#step:6:162

Details

Apparently, the problem is mostly happening on macOS?

Image

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