Arches is a web platform for creating, managing, & visualizing geospatial data. Arches was inspired by the needs of the Cultural Heritage community, particularly the widespread need of organizations to build & manage cultural heritage inventories
GNU Affero General Public License v3.0
210
stars
142
forks
source link
Recently merged test hangs on `input()` call #11418
On CI, we're getting an EOFError emanating from an input() call. Locally the situation is worse, it just hangs.
To reproduce:
python manage.py test tests.search.search_export_tests --settings="tests.test_settings"
Result: hangs:
Stacktrace from CTRL-C'ing:
File "/Users/jwalls/prj/arches/tests/search/search_export_tests.py", line 66, in setUpTestData
cls.ensure_test_resource_models_are_loaded()
File "/Users/jwalls/prj/arches/tests/base_test.py", line 110, in ensure_test_resource_models_are_loaded
errs, importer = ResourceGraphImporter(
^^^^^^^^^^^^^^^^^^^^^^
File "/Users/jwalls/prj/arches/arches/app/utils/data_management/resource_graphs/importer.py", line 152, in import_graph
overwrite_input = input(
This might have to do with the way graph fixtures are now loaded per test case in ArchesTestCase. I have a fix in progress for #10719 which probably will take care of this.
On CI, we're getting an
EOFError
emanating from aninput()
call. Locally the situation is worse, it just hangs.To reproduce:
Result: hangs:
Stacktrace from CTRL-C'ing:
cc/ @whatisgalen @apeters