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

Add/conductor tests for blobber and validator #1195

Merged
merged 8 commits into from
Aug 14, 2023

Conversation

lpoli
Copy link
Contributor

@lpoli lpoli commented Aug 4, 2023

Changes

This PR adds first two cases of issue 2559. We need to control blobber and validator to become adversarial and/or stop/resume writemarker redeeming.

Fixes

Tests

Tasks to complete before merging PR:

  • Ensure system tests are passing. If not Run them manually to check for any regressions 📋
  • Do any new system tests need added to test this change? do any existing system tests need updated? If so create a PR at 0chain/system_test
  • Merge your system tests PR to master AFTER merging this PR

Associated PRs (Link as appropriate):

@lpoli lpoli changed the base branch from staging to sprint-july-4 August 4, 2023 10:00
@codecov-commenter
Copy link

codecov-commenter commented Aug 4, 2023

Codecov Report

Merging #1195 (97bf13f) into sprint-july-4 (b0d46cf) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@                Coverage Diff                @@
##           sprint-july-4    #1195      +/-   ##
=================================================
- Coverage          25.46%   25.45%   -0.01%     
=================================================
  Files                 81       82       +1     
  Lines               9170     9172       +2     
=================================================
  Hits                2335     2335              
- Misses              6544     6546       +2     
  Partials             291      291              
Flag Coverage Δ
Unit-Tests 25.45% <0.00%> (-0.01%) ⬇️

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

Files Changed Coverage Δ
.../go/0chain.net/blobbercore/writemarker/protocol.go 0.00% <0.00%> (ø)
...chain.net/blobbercore/writemarker/protocol_main.go 0.00% <0.00%> (ø)

@service-0chain
Copy link
Collaborator

Manual system tests [cancelled] with the following config

config value
tests skipped false
system-tests
gosdk NOT OVERRIDDEN
zboxcli
zwalletcli
0chain
blobber sprint-july-4
authorizer
0box
0dns

Copy link
Member

@dabasov dabasov left a comment

Choose a reason for hiding this comment

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

lgtm

@dabasov dabasov merged commit d302842 into sprint-july-4 Aug 14, 2023
6 checks passed
@dabasov dabasov deleted the add/conductor-tests-for-blobber-and-validator branch August 14, 2023 14:33
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.

5 participants