-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[receiver/sqlquery] sqlserver integration tests, improved coverage #36922
base: main
Are you sure you want to change the base?
[receiver/sqlquery] sqlserver integration tests, improved coverage #36922
Conversation
2c462cc
to
1bdd23c
Compare
dc3dc6e
to
1bdd23c
Compare
3044d01
to
bba41e4
Compare
BodyColumn: "body", | ||
AttributeColumns: []string{"attribute"}, | ||
}, | ||
type DbEngine struct { |
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 would inexpert that type just to be clear about 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.
@atoulme Thank you for your comment. I'm not entirely clear on what you mean. Are you suggesting that I should simply rename this type to DbEngineUnderTest
?
bba41e4
to
da67353
Compare
Failing extension test is frequency of #37079, I've added a reference there. Unrelated to this change. |
@@ -0,0 +1,12 @@ | |||
FROM mcr.microsoft.com/mssql/server:2017-latest |
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.
Can we use a more recent version of the SQL Server docker image?
/opt/mssql/bin/sqlservr & | ||
|
||
# Wait for SQL Server to start | ||
sleep 30s |
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.
Is there any way to have a more concrete/time sensitive check for this?
da67353
to
49d5e36
Compare
Description
Mainly added test for sqlserver, plus added coverage for logs (as requested in comment)
Link to tracking issue
Fixes #29695
Testing
Main changes:
Improvements:
otel
schema instead ofsys
.Important: For Oracle and SQL Server, tests are skipped (tested locally) - I expect them to fail due to #27577 (which was not fixed but closed due to inactivity).