Page MenuHomeSoftware Heritage

(fix ci) indexer: tests: Fix forbidden naive datetimes usage
ClosedPublic

Authored by ardumont on May 4 2020, 11:14 AM.

Details

Summary

This currently fixes the build failures [1]

[1] https://jenkins.softwareheritage.org/job/DCIDX/job/tests/969/console

Test Plan

tox

Diff Detail

Repository
rDCIDX Metadata indexer
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 12235
Build 18553: Phabricator diff pipeline on jenkinsJenkins console · Jenkins
Build 18552: arc lint + arc unit

Event Timeline

Build is green

Patch application report for D3111 (id=11059)

Rebasing onto f613bcd59e...

Current branch diff-target is up to date.
Changes applied before test
commit ae238a678935cd5bc6d5ccb4ede2d6396080d514
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Mon May 4 11:14:01 2020 +0200

    tests: Fix forbidden naive datetimes usage
    
    This currently fixes the build failures [1]
    
    [1] https://jenkins.softwareheritage.org/job/DCIDX/job/tests/969/console

See https://jenkins.softwareheritage.org/job/DCIDX/job/tests-on-diff/6/ for more details.

ardumont retitled this revision from tests: Fix forbidden naive datetimes usage to (fix ci) indexer: tests: Fix forbidden naive datetimes usage.May 4 2020, 11:17 AM

Remove swh.storage.utils.now use and use datetime oneliner instead

Build is green

Patch application report for D3111 (id=11065)

Rebasing onto f613bcd59e...

Current branch diff-target is up to date.
Changes applied before test
commit 2f1135cc0d65bc89cd69734a3bade4e30c040050
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Mon May 4 11:14:01 2020 +0200

    tests: Fix forbidden naive datetimes usage
    
    This currently fixes the build failures [1]
    
    [1] https://jenkins.softwareheritage.org/job/DCIDX/job/tests/969/console

See https://jenkins.softwareheritage.org/job/DCIDX/job/tests-on-diff/7/ for more details.

This revision is now accepted and ready to land.May 4 2020, 12:20 PM