Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.clearlydefined.tests.test_orchestrator::test_orchestrator
Failed

TEST RESULT

Run At
Feb 19 2021, 8:47 AM
Details
swh_storage = <swh.storage.postgresql.storage.Storage object at 0x7ff1ea7d49e8> clearcode_dsn = "dbname=clearcode user=postgres host=127.0.0.1 port=26029 options=''" datadir = '/var/lib/jenkins/workspace/DMFCD/tests-on-diff/.tox/py3/lib/python3.7/site-packages/swh/clearlydefined/tests/data' def test_orchestrator(swh_storage, clearcode_dsn, datadir): connection = psycopg2.connect(dsn=clearcode_dsn) cursor = connection.cursor() add_content_data(swh_storage) # Fill data in clearcode database, for first time orchestration fill_data_before_updation_of_storage( connection=connection, cursor=cursor, datadir=datadir ) orchestrator(storage=swh_storage, clearcode_dsn=clearcode_dsn) # Check how much data is unmapped after first orchestration assert 2 == get_length_of_unmapped_data(connection=connection, cursor=cursor) > assert "2021-02-06 00:00:00+00:00" == get_last_run_date(cursor=cursor) E AssertionError: assert '2021-02-06 00:00:00+00:00' == '2021-02-06 00:00:00+00' E - 2021-02-06 00:00:00+00 E + 2021-02-06 00:00:00+00:00 E ? +++ .tox/py3/lib/python3.7/site-packages/swh/clearlydefined/tests/test_orchestrator.py:151: AssertionError