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

Update the k6 to v0.36.0 #21

Closed
wants to merge 1 commit into from
Closed

Update the k6 to v0.36.0 #21

wants to merge 1 commit into from

Conversation

olegbespalov
Copy link
Contributor

Update the k6 to the v0.36.0 and use new client

@@ -29,49 +31,52 @@ type HttpFunc func(ctx context.Context, url goja.Value, args ...goja.Value) (*k6

func New(vu modules.VU) *TracingClient {
return &TracingClient{
http: &k6HTTP.HTTP{},
http: &k6HTTP.Client{},
Copy link
Contributor

Choose a reason for hiding this comment

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

That will just not work as later on you need it's internal fields to be useful see #21 for my at least working fixes ... although arguably the code is a lot worse ;(

Copy link
Contributor Author

Choose a reason for hiding this comment

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

True 😞

I'll check if I can come up with something else, but for now I belive maybe better to merge your PR 👍

@olegbespalov olegbespalov deleted the fix/verstion branch January 25, 2022 08:26
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