Skip to content
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

Output is incorrect when run with --port=0 #333

Open
jspeiser opened this issue Jul 8, 2024 · 0 comments
Open

Output is incorrect when run with --port=0 #333

jspeiser opened this issue Jul 8, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@jspeiser
Copy link

jspeiser commented Jul 8, 2024

What happened?

When the emulator is started with --port=0 on a Linux machine it should be assigned a random available port by the system. I think this is happening, but the "server listening at" logs happen before the port is assigned:

➜ ~/emulator --project=test-project --dataset=test_dataset --log-level=debug --port=0 --grpc-port=0
[bigquery-emulator] REST server listening at 0.0.0.0:0
[bigquery-emulator] gRPC server listening at 0.0.0.0:0

What did you expect to happen?

I expected the output to have the actual port being listened to. It seems like this should be available.

How can we reproduce it (as minimally and precisely as possible)?

Start the emulator with --port=0.

Anything else we need to know?

No response

@jspeiser jspeiser added the bug Something isn't working label Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant