Skip to content

CI: Elixir integration tests are flaky #1251

@amotl

Description

@amotl

Problem

The integration tests against Elixir/Postgrex have been flaky since the beginning, that's why its CI slot signals failure more often than not.

ImageImage

-- https://cratedb.com/docs/guide/integrate/status.html

Details

Test failure

Because we don't know at all how Elixir works, and because test code was just randomly picked up and assembled.

Error:      test/basic_test.exs:62
     Assertion with == failed
     code:  assert [~c"*", ~c"+", ~c",", ~c"-"] == result.rows
     left:  [~c"*", ~c"+", ~c",", ~c"-"]
     right: [~c"*", ~c",", ~c"-"]
     stacktrace:
       test/basic_test.exs:95: (test)

What's [~c"*", ~c"+", ~c",", ~c"-"] ACTUALLY?

-- https://github.com/crate/cratedb-examples/actions/runs/19353332347/job/55369642698#step:6:59

Frequency

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    elixirPull requests that update elixir codehelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions