tigerbeetle testcontainer crashes while running backend tests on macOS M1
See original GitHub issueI tried to run backend tests on two different Macbook Air M1 and when I used yarn workspace backend test
I got the same error. The container in the context of the error is a Tigerbeetle container. Unlike the Tigerbeetle container, testcontainers container and Postgres container don’t crash. I tried to check docker logs but the container crashes as it opens, so it wasn’t possible to check logs at least for me. I don’t have this problem on my Linux machine, that’s why I believe the issue is related to macOS.
macOS version: Monterey 12.2.1 Node version: v14.19.0, v16.14.1, v17.6.0 Docker version: Docker Desktop for Mac 4.6.0
Error: Log stream ended and message "/listening on/" was not received for 42d7e88d9171a63a77e593d0a2e0c9478718d6aa2194c3656c8ed738c6a9f51b
at LineStream.<anonymous> (/Users/omertoast/rafiki/.yarn/cache/testcontainers-npm-7.20.4-706f1bf23f-cb141138ae.zip/node_modules/testcontainers/dist/wait-strategy.js:112:28)
at LineStream.emit (node:events:526:28)
at endReadableNT (node:internal/streams/readable:1345:12)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (7 by maintainers)
Top Results From Across the Web
Test containers does not work on Mac with M1 Chip #5266
Hi, I have Macbook Air with M1 Chip and I tried to execute my java tests with test containers (with Cassandra) on this...
Read more >Test container error when starting docker from macbook m1
This is a well known VirtualBox bug. Now i cannot running testContainer because it required Docker machine. I cannot start because VirtualBox ...
Read more >Networking and communicating with containers - Testcontainers
Exposing container ports to the host. It is common to want to connect to a container from your test process, running on the...
Read more >Integration tests with Testcontainers - Zalando Engineering Blog
We explore how to write integration tests using Testcontainers.org library in Java-based backend applications.
Read more >Testcontainers and Spring Boot from integration tests to local ...
Jun 13, 2022 Spring I/O 2022 - Barcelona, 26-27 MayTestcontainers libraries integrate with Spring Boot to offer seamless, unit- test like ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I forgot to mention that I already tried it and I got the same error.
@jorangreef Thanks. Hopefully it’s just a matter of updating Rafiki to the latest Tigerbeetle. Github Actions appear to be disabled in the tigerbeetle repo, so there isn’t currently a recent Docker image.
@omertoast You could try checking out this branch and running the Rafiki backend tests: ~https://github.com/wilsonianb/rafiki/tree/bw-test-tigerbeetle~ https://github.com/wilsonianb/rafiki/tree/bw-update-tigerbeetle