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

Night failure: sanity/rpc_state_changes.py #2541

Closed
SkidanovAlex opened this issue Apr 28, 2020 · 0 comments · Fixed by #2559
Closed

Night failure: sanity/rpc_state_changes.py #2541

SkidanovAlex opened this issue Apr 28, 2020 · 0 comments · Fixed by #2559
Assignees
Labels
A-chain Area: Chain, client & related

Comments

@SkidanovAlex
Copy link
Collaborator

Fails every time. Example run:

http://nightly.neartest.com/run/f625606891dec008a572ca61ec37da500c2a95cd_200428_135923

Failure:

Traceback (most recent call last):
  File "tests/sanity/rpc_state_changes.py", line 484, in <module>
    test_key_value_changes()
  File "tests/sanity/rpc_state_changes.py", line 377, in test_key_value_changes
    assert function_call_2_response['result']['receipts_outcome'][0]['outcome']['status'] == {'SuccessValue': ''}, \
KeyError: 'result'
@SkidanovAlex SkidanovAlex added A-chain Area: Chain, client & related nightly labels Apr 28, 2020
@SkidanovAlex SkidanovAlex self-assigned this Apr 28, 2020
bowenwang1996 added a commit that referenced this issue Apr 28, 2020
rpc_state_changes.py sometimes fails because on the first block of an epoch there is state change to validator accounts when reward is added. This PR fixes it by using an epoch length that is sufficiently long. Fixes #2541 

Test plan
---------
* `rpc_state_changes.py` passes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-chain Area: Chain, client & related
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant