Skip to content

Commit

Permalink
update contrib sha
Browse files Browse the repository at this point in the history
  • Loading branch information
owais committed Aug 30, 2021
1 parent 59f41a4 commit c1130ed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ env:
# Otherwise, set variable to the commit of your branch on
# opentelemetry-python-contrib which is compatible with these Core repo
# changes.
CONTRIB_REPO_SHA: 3ad534cbba41c2b92618f5f03c4c92cee4a72df6
CONTRIB_REPO_SHA: 71b0ca7d80a2c717bdee12c11ede6d803ac980df

jobs:
build:
Expand Down
2 changes: 2 additions & 0 deletions tests/util/src/opentelemetry/test/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,11 @@ def by_name(self, name):
if span.name == name:
return span
self.test.fail("Did not find span with name {}".format(name))
return None

def by_attr(self, key, value):
for span in self:
if span.attributes.get(key) == value:
return span
self.test.fail("Did not find span with attrs {}={}".format(key, value))
return None

0 comments on commit c1130ed

Please sign in to comment.