Skip to content

Commit

Permalink
Update snapshot tests and pin upstream versions (GoogleCloudPlatform#254
Browse files Browse the repository at this point in the history
)
  • Loading branch information
aabmass authored Jun 13, 2023
1 parent e4c37d0 commit 061d0e3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions dev-constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,8 @@ types-protobuf==3.20.4.2
types-requests==2.28.11.2
types-setuptools==65.5.0.2
types-urllib3==1.26.25.1

# pinned for snapshot tests. this should be bumped regularly and snapshots updated by running
# tox -f py311-test -- --snapshot-update
opentelemetry-api==1.18.0
opentelemetry-sdk==1.18.0
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
'service.name': 'unknown_service',
'telemetry.sdk.language': 'python',
'telemetry.sdk.name': 'opentelemetry',
'telemetry.sdk.version': '1.17.0',
'telemetry.sdk.version': '1.18.0',
})
# ---
# name: test_detects_gke[regional]
Expand All @@ -33,7 +33,7 @@
'service.name': 'unknown_service',
'telemetry.sdk.language': 'python',
'telemetry.sdk.name': 'opentelemetry',
'telemetry.sdk.version': '1.17.0',
'telemetry.sdk.version': '1.18.0',
})
# ---
# name: test_detects_gke[zonal]
Expand All @@ -47,6 +47,6 @@
'service.name': 'unknown_service',
'telemetry.sdk.language': 'python',
'telemetry.sdk.name': 'opentelemetry',
'telemetry.sdk.version': '1.17.0',
'telemetry.sdk.version': '1.18.0',
})
# ---

0 comments on commit 061d0e3

Please sign in to comment.