Projet

Général

Profil

Bug #27345

erreur tests atos genesys

Ajouté par Emmanuel Cazenave il y a plus de 5 ans. Mis à jour il y a plus de 5 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Version cible:
-
Début:
15 octobre 2018
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:

Description

https://jenkins2.entrouvert.org/job/passerelle/50

# Check that cache works, f() is called only one time during the cache duration (60 seconds)
        rlc = RowLockedCache(duration=60, row=link, function=f, key_prefix='cache')
        value = rlc()
        assert value == 1
        assert f.calls == 1
        freezer.move_to('2018-01-01 00:00:59')
        for i in range(5):
            assert rlc() == 1
>           assert f.calls == 1
E           assert 2 == 1
E            +  where 2 = <tests.test_atos_genesys.F object at 0x7fb0878cb5d0>.calls

Fichiers

Révisions associées

Révision 0b3210ac (diff)
Ajouté par Emmanuel Cazenave il y a plus de 5 ans

skip atos-genesys test, temporary fix (#27345)

Révision a2c46341 (diff)
Ajouté par Benjamin Dauvergne il y a plus de 5 ans

do not use pytest.mark.freeze_time (#27345)

Historique

#1

Mis à jour par Emmanuel Cazenave il y a plus de 5 ans

En attendant, pour pouvoir faire des release de passerelle, skip.

#3

Mis à jour par Emmanuel Cazenave il y a plus de 5 ans

commit 0b3210acac8d78add20e93bcba0fb15b8f797ab6                                                                     
Author: Emmanuel Cazenave <ecazenave@entrouvert.com>
Date:   Thu Oct 18 15:37:53 2018 +0200

    skip atos-genesys test, temporary fix (#27345)
#4

Mis à jour par Benjamin Dauvergne il y a plus de 5 ans

  • Statut changé de Nouveau à Résolu (à déployer)

Le fix:

commit a2c4634123734148882265b1a0f15ef5fdc275fc (HEAD -> master)
Author: Benjamin Dauvergne <bdauvergne@entrouvert.com>
Date:   Sun Oct 21 16:02:11 2018 +0200

    do not use pytest.mark.freeze_time (#27345)

#5

Mis à jour par Benjamin Dauvergne il y a plus de 5 ans

  • Statut changé de Résolu (à déployer) à Fermé

Formats disponibles : Atom PDF