-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test server for linux_arm64 target #1783
Comments
I am just starting to use temporal and followed the example project: Right now I am unsure why |
Duplicate of #1407, but will leave open for a bit in case there are other questions. |
Hey @cretz, I switched into I hope I will be able to deal with the lack of "automatic time skipping" by placing any "sleeps" in separated activities or individual functions that I will selectively mock in tests so do not see anything blocking me after all (for now). Thank you for leaving it open, I feel we might close it as duplicate, but let's wait, maybe there are questions from other people too. |
There no longer seems to be any reason to keep this one open. Closing as duplicate of #1407. |
I have a M1/M2 Mac and run my apps in docker containers.
When developing in python on my mac directly, tests automatically download the
temporal-test-server
by hitting this endpoint first:https://temporal.download/temporal-test-server/default?arch=arm64&platform=darwin&sdk-name=sdk-python&sdk-version=1.2.0
that returns the following content
{"archiveUrl":"https://temporal.download/assets/temporalio/sdk-java/releases/download/v1.17.0/temporal-test-server_1.17.0_macOS_amd64.tar.gz","fileToExtract":"temporal-test-server_1.17.0_macOS_amd64/temporal-test-server"}
I am able to run tests "directly" on my local machine with pytest
But when I try to test my app inside of a docker container that uses linux arm64 it fails because of two reasons:
pytest
qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory
if I provide pointer to a manually downloaded amd64 binaryThis leads me to a quite obvious conclusion, that amd64 test server is not going to run within arm64.
I am unable to run temporal tests in docker on M1/M2 Macs
Describe the solution you'd like
Could you provide builds for linux_arm64 target? This way tests would execute within a dockerised arm64 linux.
Describe alternatives you've considered
WorkflowEnvironment.start_local()
instead ofWorkflowEnvironment.start_time_skipping()
The text was updated successfully, but these errors were encountered: