-
Notifications
You must be signed in to change notification settings - Fork 0
chore: Integration tests #18
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
base: develop
Are you sure you want to change the base?
Conversation
tests/executor.py
Outdated
| url = "tcp://localhost:12345" | ||
| import socket | ||
|
|
||
| def is_port_in_use(port: int) -> bool: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i'm bit puzzled by the logic here
from the contextmanager below, it seems to me that you are intending to have each job its own gateway, but not run them in parallel -- ie, test starts a gateway, runs a job, tears down a gateway
but then I'm puzzled why do you have this is_port_in_use function here -- if its in use, how would you know that its indeed a healthy gateway behind it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is hack on top of hack to try and get something working,
Will need to consolidate
3ca4c04 to
154e925
Compare
Description
Integration tests
Contributor Declaration
By opening this pull request, I affirm the following: