Skip to content

Commit

Permalink
fix tedious tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rochdev committed Sep 19, 2024
1 parent bf95415 commit ae79b29
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/datadog-plugin-tedious/test/index.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ describe('Plugin', () => {

beforeEach((done) => {
config = {
server: 'localhost',
server: '127.0.0.1',
options: {
database: 'master',
trustServerCertificate: true
Expand Down Expand Up @@ -151,7 +151,7 @@ describe('Plugin', () => {
expect(traces[0][0].meta).to.have.property('db.name', 'master')
expect(traces[0][0].meta).to.have.property('db.user', 'sa')
expect(traces[0][0].meta).to.have.property('db.type', 'mssql')
expect(traces[0][0].meta).to.have.property('out.host', 'localhost')
expect(traces[0][0].meta).to.have.property('out.host', '127.0.0.1')
expect(traces[0][0].meta).to.have.property('span.kind', 'client')
expect(traces[0][0].metrics).to.have.property('network.destination.port', 1433)
})
Expand Down
2 changes: 1 addition & 1 deletion packages/dd-trace/test/setup/services/mssql.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function waitForMssql () {

operation.attempt(currentAttempt => {
const connection = new tedious.Connection({
server: 'localhost',
server: '127.0.0.1',
options: {
trustServerCertificate: true
},
Expand Down

0 comments on commit ae79b29

Please sign in to comment.