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/tests/sentry: Add access control sanity checks #3062

Merged
merged 2 commits into from
Jun 30, 2020

Conversation

ptrus
Copy link
Member

@ptrus ptrus commented Jun 29, 2020

No description provided.

@ptrus ptrus force-pushed the ptrus/fix/sentry-e2e-sc branch 2 times, most recently from 300777b to 6a6432d Compare June 29, 2020 15:20
@@ -734,10 +733,6 @@ func (net *Network) startOasisNode(
args = append(args, baseArgs...)
args = append(args, extraArgs.vec...)

if !strings.HasPrefix(node.Name, "sentry-") && !strings.HasPrefix(node.Name, "ias-proxy") && len(net.byzantine) == 0 {
Copy link
Member Author

Choose a reason for hiding this comment

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

So i'm not sure if the && len(net.byzantine) == 0 flag was needed before, since in the new code i also enable cert rotation in byzantine tests and tests don't fail

@codecov
Copy link

codecov bot commented Jun 29, 2020

Codecov Report

Merging #3062 into master will increase coverage by 0.02%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3062      +/-   ##
==========================================
+ Coverage   68.16%   68.18%   +0.02%     
==========================================
  Files         372      372              
  Lines       36487    36487              
==========================================
+ Hits        24870    24878       +8     
- Misses       8398     8400       +2     
+ Partials     3219     3209      -10     
Impacted Files Coverage Δ
go/worker/sentry/grpc/worker.go 50.76% <ø> (ø)
go/control/control.go 53.03% <100.00%> (ø)
...n/crypto/signature/signers/memory/memory_signer.go 71.42% <0.00%> (-4.77%) ⬇️
go/worker/keymanager/handler.go 60.37% <0.00%> (-3.78%) ⬇️
go/consensus/tendermint/roothash/roothash.go 63.87% <0.00%> (-2.61%) ⬇️
...consensus/tendermint/apps/registry/transactions.go 55.49% <0.00%> (-1.61%) ⬇️
go/worker/compute/executor/committee/node.go 64.91% <0.00%> (-1.32%) ⬇️
go/worker/compute/merge/committee/node.go 77.34% <0.00%> (-0.73%) ⬇️
go/consensus/tendermint/abci/mux.go 68.20% <0.00%> (-0.70%) ⬇️
go/worker/common/committee/group.go 80.88% <0.00%> (-0.69%) ⬇️
... and 18 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 5f36400...8ccfb84. Read the comment docs.

@ptrus ptrus marked this pull request as ready for review June 29, 2020 15:35
go/oasis-test-runner/oasis/client.go Outdated Show resolved Hide resolved
go/oasis-test-runner/scenario/e2e/runtime/sentry.go Outdated Show resolved Hide resolved
go/oasis-test-runner/scenario/e2e/runtime/sentry.go Outdated Show resolved Hide resolved
@ptrus ptrus force-pushed the ptrus/fix/sentry-e2e-sc branch 4 times, most recently from dd347fc to 400740d Compare June 30, 2020 08:37
.changelog/3062.feature.md Outdated Show resolved Hide resolved
go/oasis-test-runner/scenario/e2e/runtime/sentry.go Outdated Show resolved Hide resolved
go/oasis-test-runner/scenario/e2e/runtime/sentry.go Outdated Show resolved Hide resolved
@ptrus ptrus merged commit 92d434c into master Jun 30, 2020
@ptrus ptrus deleted the ptrus/fix/sentry-e2e-sc branch June 30, 2020 09:22
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.

None yet

2 participants