This completely stops using origin ids, except when an endpoint that depends
on origin ids is used.
Related: D1690
Differential D1691
Stop relying on origin ids unless necessary. vlorentz on Jul 4 2019, 5:03 PM. Authored by
Details
This completely stops using origin ids, except when an endpoint that depends Related: D1690 # Test with origin ids pytest --hypothesis-profile=swh-web-fast swh/web/ # Disable origin ids cd ../swh-storage/ arc patch D1690 cd ../swh-web/ # Test without origin ids (and disable tests that require origin ids) SWH_STORAGE_IN_MEMORY_ENABLE_ORIGIN_IDS=false pytest --hypothesis-profile=swh-web-fast swh/web/ -m "not origin_id"
Diff Detail
Event TimelineComment Actions Build is green Comment Actions
why don't you make it a configuration option? Comment Actions Build is green Comment Actions Looks good to me. FYI, pytest is printing the following warning: PytestUnknownMarkWarning: Unknown pytest.mark.origin_id - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/latest/mark.html The new marker needs to be explicitely declared in the pytest.ini file to remove the warning: markers = origin_id: execute tests using an origin id (deselect with '-m "not origin_id"')
Comment Actions Build is green |