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

go/oasis-test-runner: Refactor code to refer to scenario(s) consistently #3108

Merged
merged 1 commit into from
Jul 14, 2020

Conversation

tjanez
Copy link
Member

@tjanez tjanez commented Jul 14, 2020

go/oasis-test-runner/cmd: Rename --test flag to --scenario flag (-s for short version) for consistency.

go/oasis-test-runner/env:

  • Rename TestInstanceInfo type to ScenarioInstanceInfo and its Test field to Scenario field for consistency.
  • Rename Env's TestInfo() and WriteTestInfo() methods to ScenarioInfo() and WriteScenarioInfo() for consistency.

go/oasis-node/cmd/common/metrics: Use "scenario" metrics label instead of "test" for consistency.

@tjanez tjanez added the c:testing Category: testing label Jul 14, 2020
@tjanez tjanez self-assigned this Jul 14, 2020
@tjanez tjanez force-pushed the tjanez/test-runner-consistency branch 3 times, most recently from e81f7d7 to e0437c7 Compare July 14, 2020 13:15
@ptrus
Copy link
Member

ptrus commented Jul 14, 2020

Also fix:

./.buildkite/scripts/test_e2e.sh -t e2e/runtime/txsource-multi

@tjanez tjanez force-pushed the tjanez/test-runner-parallel-bug branch 2 times, most recently from 2058d6f to 4e244df Compare July 14, 2020 15:06
Base automatically changed from tjanez/test-runner-parallel-bug to master July 14, 2020 15:39
go/oasis-test-runner/cmd: Rename --test flag to --scenario (-s for short
version) for consistency.

go/oasis-test-runner/env:
- Rename TestInstanceInfo type to ScenarioInstanceInfo and its Test field
  to Scenario for consistency.
- Rename Env's TestInfo() and WriteTestInfo() methods to ScenarioInfo()
  and WriteScenarioInfo() for consistency.

go/oasis-node/cmd/common/metrics: Use "scenario" metrics label instead of
"test" for consistency.
@tjanez tjanez force-pushed the tjanez/test-runner-consistency branch from e0437c7 to f7f6dc5 Compare July 14, 2020 15:42
@tjanez
Copy link
Member Author

tjanez commented Jul 14, 2020

Also fix:

./.buildkite/scripts/test_e2e.sh -t e2e/runtime/txsource-multi

Done.

@codecov
Copy link

codecov bot commented Jul 14, 2020

Codecov Report

Merging #3108 into master will decrease coverage by 0.04%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3108      +/-   ##
==========================================
- Coverage   68.22%   68.18%   -0.05%     
==========================================
  Files         372      372              
  Lines       36896    36896              
==========================================
- Hits        25174    25156      -18     
- Misses       8465     8474       +9     
- Partials     3257     3266       +9     
Impacted Files Coverage Δ
go/oasis-node/cmd/common/metrics/metrics.go 17.24% <0.00%> (ø)
go/oasis-node/cmd/common/metrics/disk.go 65.51% <0.00%> (-20.69%) ⬇️
go/oasis-node/cmd/common/metrics/resource.go 84.00% <0.00%> (-8.00%) ⬇️
go/consensus/tendermint/abci/state/state.go 61.53% <0.00%> (-7.70%) ⬇️
go/storage/metrics.go 71.73% <0.00%> (-6.53%) ⬇️
go/worker/storage/service_external.go 45.16% <0.00%> (-4.31%) ⬇️
go/worker/keymanager/handler.go 60.37% <0.00%> (-3.78%) ⬇️
go/storage/database/database.go 70.58% <0.00%> (-3.37%) ⬇️
go/storage/api/root_cache.go 70.11% <0.00%> (-2.30%) ⬇️
go/worker/compute/txnscheduler/committee/node.go 63.36% <0.00%> (-1.51%) ⬇️
... and 20 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 e48871e...f7f6dc5. Read the comment docs.

@tjanez tjanez merged commit 03d5d65 into master Jul 14, 2020
@tjanez tjanez deleted the tjanez/test-runner-consistency branch July 14, 2020 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c:testing Category: testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants