Skip to content

Commit

Permalink
fix(test): bump quorum_data_request_expiration_timeout to fix `p2p_…
Browse files Browse the repository at this point in the history
…quorum_data.py` (#5281)

## Issue being fixed or feature implemented
fix `p2p_quorum_data.py` test broken by #5276


## What was done?
adjust data request expiration timeout in tests

## How Has This Been Tested?
`./test/functional/test_runner.py p2p_quorum_data.py`

## Breaking Changes
n/a

## Checklist:
- [x] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [x] I have added or updated relevant unit/integration/functional/e2e
tests
- [ ] I have made corresponding changes to the documentation

**For repository code-owners and collaborators only**
- [x] I have assigned this pull request to a milestone
  • Loading branch information
UdjinM6 authored Mar 30, 2023
1 parent 1a96a98 commit 6e00fd0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/functional/test_framework/test_framework.py
Original file line number Diff line number Diff line change
Expand Up @@ -1000,8 +1000,8 @@ def set_dash_test_params(self, num_nodes, masterodes_count, extra_args=None, fas

# This is nRequestTimeout in dash-q-recovery thread
self.quorum_data_thread_request_timeout_seconds = 10
# This is EXPIRATION_TIMEOUT in CQuorumDataRequest
self.quorum_data_request_expiration_timeout = 300
# This is EXPIRATION_TIMEOUT + EXPIRATION_BIAS in CQuorumDataRequest
self.quorum_data_request_expiration_timeout = 360

def set_dash_dip8_activation(self, activate_after_block):
self.dip8_activation_height = activate_after_block
Expand Down

0 comments on commit 6e00fd0

Please sign in to comment.