Skip to content

Unit / Integration Tests are Broken #3490

@sgp

Description

@sgp

Expected Behavior

I should be able to run make test on a system with either Docker Compose or Podman (and its equivalent) and have all the tests pass in master.

Current Behavior

See test-output.txt from a run on my system.

I'm willing to believe that this could be a compatibility problem with using Podman over Docker Compose, but it's hard to see how.

I do note that there appears to be a setup that works enough for Github CI, but ... I don't think it's using this containerized environment at all.

Possible Solution

  1. The --save "" directive in docker-compose.yml seems to have the double-quotes escaped by the shell for three of the five environments fails; using --save \"\" seems to fix that so the Redis VMs start up.
  2. Fixing the above still causes some tests to not be able to connect; uncommenting the commented out ports: and removing the network: "host" line seemed better, but still broken.

Here's the diff of what I did above proposed-change-diff.txt,
as well as output from running make test after those changes: test-output-better.txt.

Steps to Reproduce

Just run make test as outlined in CONTRIBUTING.md. 🤷

On my system, I'm using Podman. Output from podman version:

❯ podman version
Client:        Podman Engine
Version:       5.6.0
API Version:   5.6.0
Go Version:    go1.25.0
Built:         Fri Aug 15 09:42:35 2025
Build Origin:  brew
OS/Arch:       darwin/arm64

Server:       Podman Engine
Version:      5.4.2
API Version:  5.4.2
Go Version:   go1.23.7
Git Commit:   be85287fcf4590961614ee37be65eeb315e5d9ff
Built:        Tue Apr  1 20:00:00 2025
OS/Arch:      linux/arm64

Context (Environment)

I'm just trying to develop patches and contribute to the project, and not having an test environment makes this riskier as I am unable to test my changes. This impacts all contributors to this project.

Detailed Description

Make the tests run clean.

Possible Implementation

I mean, fix it? (Or direct me to what is going on here so I can help?)

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