Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

Update the k6 dependency which updates also GRPC dependencies #10

Merged
merged 1 commit into from
May 24, 2023

Conversation

olegbespalov
Copy link
Collaborator

What?

Updates the k6 dependency, which is also updating GRPC dependencies.

Based on the: grafana/k6#3075

Why?

Make dependencies updated.

Copy link
Contributor

@codebien codebien left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with a small comment

Comment on lines +266 to +272
// a small hack to make sure we are parsing the right file
// otherwise the parser will try to parse "google/protobuf/descriptor.proto"
// with exactly the same name as the one we are trying to parse for testing
if filename != path {
return nil, nil
}

Copy link
Contributor

@codebien codebien May 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same question as grafana/k6#3075 (comment)

It isn't clear why this is happening and if we should improve here in the future.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I answered there, but answering here also.

As the comment stays:

// the parser will try to parse "google/protobuf/descriptor.proto"

Generally, it's a result of the library update, but on the other hand, it's a clear signal that the test was poorly designed and is sensitive to that kind of update.

Hopefully, we can improve that (and many other tests).

@olegbespalov olegbespalov merged commit bc0d540 into main May 24, 2023
10 checks passed
@olegbespalov olegbespalov deleted the chore/grpc-dep-updates branch May 24, 2023 09:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants