-
Notifications
You must be signed in to change notification settings - Fork 11
test: Integration testing account v2 #383
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
Conversation
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.
some minor comments
"", | ||
"", |
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.
Why do we have empty strings here?
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.
Since fields names are accessed by index, we simply store empty strings to preserve order, yet we verify that this field is not accessed by an invalid account version. Converting this to a map would involve a lot of refactoring, yet we can do that if you have a strong opinion here. We should generally be able to simplify this list when we'll deprecate v1 engines fully
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.
Fair enough, not feeling too strongly about it. Maybe let's just add a comment that this is left for compatibility.
Integration tests: https://github.com/firebolt-db/firebolt-python-sdk/actions/runs/9269779587 |
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.
apart from that lgtm
"", | ||
"", |
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.
Fair enough, not feeling too strongly about it. Maybe let's just add a comment that this is left for compatibility.
|
Created a separate integration testing workflow to run a full integration test suite on account v2. Made some fixes and improvements (mainly to resource management) to make sure tests are passing