-
Notifications
You must be signed in to change notification settings - Fork 205
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
Coverage for: factory/data, factory/core, factory/crypto #5145
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## rc/v1.6.0 #5145 +/- ##
=============================================
+ Coverage 70.90% 77.75% +6.84%
=============================================
Files 675 680 +5
Lines 87793 88348 +555
=============================================
+ Hits 62251 68694 +6443
+ Misses 20864 14313 -6551
- Partials 4678 5341 +663
... and 32 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
factory/core/coreComponents_test.go
Outdated
func TestCoreComponentsFactory_CreateCoreComponentsInvalidGasScheduleShouldErr(t *testing.T) { | ||
t.Parallel() | ||
|
||
args := componentsMock.GetCoreArgs() | ||
args.EpochConfig = config.EpochConfig{} | ||
ccf, _ := coreComp.NewCoreComponentsFactory(args) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change test name? invalidEpochConfig?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
System test passed.
@@ Log scanner @@
more_factory_tests
================================================================================
- Known Warnings 9
- New Warnings 1
- Known Errors 0
- New Errors 1
- Panics 0
================================================================================ - block hash does not match 2444
- wrong nonce in block 1010
- miniblocks does not match 0
- num miniblocks does not match 0
- miniblock hash does not match 0
- block bodies does not match 0
- receipts hash missmatch 0
================================================================================ - No jailed nodes on the testnet
================================================================================
The base branch was changed.
…into more_factory_tests # Conflicts: # factory/crypto/cryptoComponents.go # factory/crypto/cryptoComponentsHandler_test.go # factory/data/dataComponents.go # factory/data/dataComponents_test.go # factory/mock/cryptoComponentsMock.go # integrationTests/mock/cryptoComponentsStub.go # integrationTests/testProcessorNode.go # node/mock/factory/cryptoComponentsStub.go # node/nodeTesting_test.go
require.NoError(t, err) | ||
require.Nil(t, managedCoreComponents.CheckSubcomponents()) | ||
} | ||
func TestManagedCoreComponents_Close(t *testing.T) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add empty line on L138
@@ -357,11 +356,6 @@ func (ccf *cryptoComponentsFactory) readCryptoParams(keygen crypto.KeyGenerator) | |||
return nil, err | |||
} | |||
|
|||
cp.privateKeyBytes, err = cp.privateKey.ToByteArray() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
…into more_factory_tests # Conflicts: # factory/bootstrap/bootstrapComponentsHandler_test.go # factory/bootstrap/bootstrapComponents_test.go
Reasoning behind the pull request
Proposed changes
Testing procedure
Pre-requisites
Based on the Contributing Guidelines the PR author and the reviewers must check the following requirements are met:
feat
branch created?feat
branch merging, do all satellite projects have a proper tag insidego.mod
?