Skip to content

Commit

Permalink
Try increase timeout for SGX
Browse files Browse the repository at this point in the history
  • Loading branch information
maxtropets committed Jul 10, 2024
1 parent 493a284 commit f5169c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/historical_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def test_historical_query_range(network, args):

# Total fetch time depends on number of entries. We expect to be much faster than this, but
# to set a safe timeout allow for a rate as low as 100 fetches per second
timeout = n_entries / 100
timeout = n_entries / 10 if args.enclave_platform == "sgx" else n_entries / 100

# Ensure all nodes have reached committed state before querying a backup for historical state
network.wait_for_all_nodes_to_commit(primary=primary)
Expand Down

0 comments on commit f5169c3

Please sign in to comment.