Skip to content

Commit 54c4ab1

Browse files
committed
fix tests
1 parent 0a7b02d commit 54c4ab1

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

tests/integration/pdo/mysql/base-class/test_instance_reporting_port.php

+1
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@
119119
{},
120120
{
121121
"peer.hostname": "ENV[MYSQL_HOST]",
122+
"server.address": "ENV[MYSQL_HOST]",
122123
"peer.address": "ENV[MYSQL_HOST]:ENV[MYSQL_PORT]",
123124
"db.instance": "ENV[MYSQL_DB]",
124125
"db.statement": "CREATE TABLE ENV[DATASTORE_COLLECTION] (id INT, description VARCHAR(?));"

tests/integration/span_events/test_span_events_are_created_upon_caught_error.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
{
9797
"error.message": "foo",
9898
"error.class": "E_USER_ERROR",
99-
"code.lineno": 139,
99+
"code.lineno": 140,
100100
"code.filepath": "__FILE__",
101101
"code.function": "a"
102102
}
@@ -117,7 +117,7 @@
117117
},
118118
{},
119119
{
120-
"code.lineno": 133,
120+
"code.lineno": 134,
121121
"code.filepath": "__FILE__",
122122
"code.function": "{closure}"
123123
}

tests/integration/span_events/test_span_events_are_created_upon_uncaught_error.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
{
9797
"error.message": "foo",
9898
"error.class": "E_USER_ERROR",
99-
"code.lineno": 111,
99+
"code.lineno": 112,
100100
"code.filepath": "__FILE__",
101101
"code.function": "a"
102102
}

0 commit comments

Comments
 (0)