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

[4.0 -> main] Test Fix: Pass a large time limit to get table call #865

Closed
wants to merge 3 commits into from

Conversation

heifner
Copy link
Member

@heifner heifner commented Mar 22, 2023

Modify integration tests to pass a large time-limit to get table calls so it does not have to handle the timeout more=true if the default 10ms is not enough time.

Merges #852 into main.
Resolves #850

@heifner heifner requested review from linh2931 and greg7mdp March 22, 2023 14:26
@heifner heifner added the OCI Work exclusive to OCI team label Mar 22, 2023
@@ -346,7 +346,7 @@ def getEosAccount(self, name, exitOnError=False, returnType=ReturnType.json):
return self.processCleosCmd(cmd, cmdDesc, silentErrors=False, exitOnError=exitOnError, exitMsg=msg, returnType=returnType)

def getTable(self, contract, scope, table, exitOnError=False):
cmdDesc = "get table"
cmdDesc = "get table --time-limit 999"
Copy link
Contributor

@ClaytonCalabrese ClaytonCalabrese Mar 22, 2023

Choose a reason for hiding this comment

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

This will probably break nodeos 2.0 compatibility for performance test. This time limit is handled in configureVersion(self) as self.cleosLimit but was lost due to the splitting of Node.py into queries.

https://github.com/AntelopeIO/leap/pull/874/files#diff-4d1412150dda54fbc6280cc9053914a45d01e43085e35b0a5a68e9c8758ed42bR350 restores this in a way that won't break 2.0 compatibility.

Copy link
Member Author

Choose a reason for hiding this comment

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

@heifner
Copy link
Member Author

heifner commented Mar 23, 2023

Closing as this is fixed by #875 and fixed up in main via #880. Thanks @ClaytonCalabrese & @766C6164

@heifner heifner closed this Mar 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCI Work exclusive to OCI team
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Test Instability - distributed-transactions-test
4 participants