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

Problem: tests fail with recursion error on very large transfers #114

Open
jrwdunham opened this issue Jun 4, 2018 · 0 comments
Open

Problem: tests fail with recursion error on very large transfers #114

jrwdunham opened this issue Jun 4, 2018 · 0 comments
Assignees
Labels
Columbia University Library CUL: phase 1 Type: bug A flaw in the code that causes the software to produce an incorrect or unexpected result.

Comments

@jrwdunham
Copy link
Contributor

jrwdunham commented Jun 4, 2018

When attempting to start a very large transfer, the AMAUAT tests call ArchivematicaBrowserTransferAbility.wait_for_transfer_to_appear recursively. This becomes problematic when waiting for a very large transfer to become ready for approval. The specific exception raised is RecursionError: maximum recursion depth exceeded while calling a Python object. Python's maximum recursion limit is 1000:

>>> sys.getrecursionlimit()
1000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Columbia University Library CUL: phase 1 Type: bug A flaw in the code that causes the software to produce an incorrect or unexpected result.
Projects
None yet
1 participant