Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use InDelta in TestExternallyControlledRun #1677

Merged
merged 5 commits into from
Oct 23, 2020
Merged

Use InDelta in TestExternallyControlledRun #1677

merged 5 commits into from
Oct 23, 2020

Conversation

mstoykov
Copy link
Contributor

No description provided.

@codecov-io
Copy link

codecov-io commented Oct 20, 2020

Codecov Report

Merging #1677 into master will increase coverage by 0.20%.
The diff coverage is 74.71%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1677      +/-   ##
==========================================
+ Coverage   72.10%   72.30%   +0.20%     
==========================================
  Files         167      175       +8     
  Lines       12882    13443     +561     
==========================================
+ Hits         9288     9720     +432     
- Misses       3031     3115      +84     
- Partials      563      608      +45     
Flag Coverage Δ
#ubuntu 72.26% <74.71%> (+0.17%) ⬆️
#windows 70.87% <74.71%> (+0.31%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
js/bundle.go 90.20% <ø> (ø)
lib/testutils/httpmultibin/httpmultibin.go 89.88% <ø> (-2.52%) ⬇️
lib/types/dns_policy_gen.go 36.36% <36.36%> (ø)
lib/types/dns_select_gen.go 45.45% <45.45%> (ø)
lib/netext/dialer.go 93.75% <50.00%> (-2.17%) ⬇️
lib/types/dns.go 68.29% <68.29%> (ø)
cmd/options.go 61.96% <70.00%> (+0.52%) ⬆️
js/runner.go 81.48% <75.00%> (-0.85%) ⬇️
lib/netext/resolver.go 84.21% <84.21%> (ø)
lib/testutils/mockresolver/resolver.go 85.71% <85.71%> (ø)
... and 15 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0e39d45...2d967ab. Read the comment docs.

na--
na-- previously approved these changes Oct 20, 2020
@mstoykov mstoykov changed the title Stretch TestExternallyControlledRun Use InDelta in TestExternallyControlledRun Oct 21, 2020
imiric
imiric previously approved these changes Oct 21, 2020
Copy link
Contributor

@imiric imiric left a comment

Choose a reason for hiding this comment

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

We shouldn't have to do this, but OK 🙁

This is actually what should've been to begin with ... as k6 is trying
to signal to the goja.VM that it should stop because the context was
canceled (or the deadline was reached).

Previous to this there was the chance that the goja.VM will be in a call
that will throw the context.Canceled on it's own (sleep) if the context
was canceled.

Fixes #1485
@mstoykov mstoykov dismissed stale reviews from imiric and na-- via f2abaaf October 21, 2020 11:15
@mstoykov mstoykov marked this pull request as ready for review October 21, 2020 11:47
@mstoykov mstoykov requested review from imiric and na-- October 21, 2020 13:02
Copy link
Member

@na-- na-- left a comment

Choose a reason for hiding this comment

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

LGTM

@mstoykov mstoykov merged commit 6b431d0 into master Oct 23, 2020
@na-- na-- added this to the v0.29.0 milestone Oct 23, 2020
@na-- na-- deleted the fixTestsAgain branch October 23, 2020 11:44
@na--
Copy link
Member

na-- commented Oct 23, 2020

I added this to the v0.29.0 milestone, since it fixes the context cancelled bug (#1485)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants