Projet

Général

Profil

Development #30458

jenkins - tox : exécuter les tests en utilisant postgres en plus de sqlite

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

Statut:
Fermé
Priorité:
Normal
Assigné à:
Version cible:
-
Début:
07 février 2019
Echéance:
% réalisé:

100%

Temps estimé:
Patch proposed:
Oui
Planning:

Description

Parce que des bugs passent au travers des mailles en sqlite: #30455


Fichiers

0001-tests-run-tests-with-postgres-30458.patch (3,39 ko) 0001-tests-run-tests-with-postgres-30458.patch Benjamin Dauvergne, 07 février 2019 14:17
0001-tests-run-tests-with-postgres-30458.patch (3,48 ko) 0001-tests-run-tests-with-postgres-30458.patch Benjamin Dauvergne, 08 février 2019 02:06
0001-tests-run-tests-with-postgres-30458.patch (3,46 ko) 0001-tests-run-tests-with-postgres-30458.patch Benjamin Dauvergne, 08 février 2019 02:17
0011-tests-mark-some-base_adresse-tests-as-expected-to-fa.patch (2,07 ko) 0011-tests-mark-some-base_adresse-tests-as-expected-to-fa.patch Benjamin Dauvergne, 08 février 2019 08:43
0005-base_adresse-PEP8ness-code-style-30458.patch (10,2 ko) 0005-base_adresse-PEP8ness-code-style-30458.patch Benjamin Dauvergne, 08 février 2019 08:43
0009-tests-remove-non-apps-installable-ressource-class-30.patch (1000 octets) 0009-tests-remove-non-apps-installable-ressource-class-30.patch Benjamin Dauvergne, 08 février 2019 08:43
0003-opengis-PEP8ness-code-style-30458.patch (18,5 ko) 0003-opengis-PEP8ness-code-style-30458.patch Benjamin Dauvergne, 08 février 2019 08:43
0004-csv_datasource-PEP8ness-code-style-30458.patch (21,4 ko) 0004-csv_datasource-PEP8ness-code-style-30458.patch Benjamin Dauvergne, 08 février 2019 08:43
0001-vivaticket-PEP8ness-30458.patch (7,72 ko) 0001-vivaticket-PEP8ness-30458.patch Benjamin Dauvergne, 08 février 2019 08:43
0002-grenoble_gru-PEP8ness-code-style-30458.patch (14,1 ko) 0002-grenoble_gru-PEP8ness-code-style-30458.patch Benjamin Dauvergne, 08 février 2019 08:43
0007-tests-fix-vivaticket-tests-inconsistencies-30458.patch (5,43 ko) 0007-tests-fix-vivaticket-tests-inconsistencies-30458.patch Benjamin Dauvergne, 08 février 2019 08:43
0006-tests-clear-cache-between-tests-30458.patch (873 octets) 0006-tests-clear-cache-between-tests-30458.patch Benjamin Dauvergne, 08 février 2019 08:43
0008-tests-fix-grenoble_gru-tests-inconsistencies-30458.patch (1,67 ko) 0008-tests-fix-grenoble_gru-tests-inconsistencies-30458.patch Benjamin Dauvergne, 08 février 2019 08:43
0010-tests-fix-inconsistencies-in-opengis-tests-30458.patch (1,1 ko) 0010-tests-fix-inconsistencies-in-opengis-tests-30458.patch Benjamin Dauvergne, 08 février 2019 08:43
0013-tests-run-tests-with-postgres-fixes-30458.patch (3,49 ko) 0013-tests-run-tests-with-postgres-fixes-30458.patch Benjamin Dauvergne, 08 février 2019 08:43
0012-tests-fix-null-character-in-charfield-30458.patch (1,11 ko) 0012-tests-fix-null-character-in-charfield-30458.patch Benjamin Dauvergne, 08 février 2019 08:43

Demandes liées

Lié à Passerelle - Bug #30455: Connecteur BAN : pas possible de renseigner plus d'un code postal dans l'UI Fermé07 février 2019

Actions

Révisions associées

Révision f581c082 (diff)
Ajouté par Benjamin Dauvergne il y a environ 5 ans

vivaticket: PEP8ness (#30458)

Révision ddffadf0 (diff)
Ajouté par Benjamin Dauvergne il y a environ 5 ans

grenoble_gru: PEP8ness, code style (#30458)

Révision 204c2140 (diff)
Ajouté par Benjamin Dauvergne il y a environ 5 ans

opengis: PEP8ness, code style (#30458)

Révision 5e231625 (diff)
Ajouté par Benjamin Dauvergne il y a environ 5 ans

csv_datasource: PEP8ness, code style (#30458)

Révision 43b83717 (diff)
Ajouté par Benjamin Dauvergne il y a environ 5 ans

base_adresse: PEP8ness, code style (#30458)

Révision c6bc5537 (diff)
Ajouté par Benjamin Dauvergne il y a environ 5 ans

family: enlarge archive field (#30458)

Révision 91c12958 (diff)
Ajouté par Benjamin Dauvergne il y a environ 5 ans

tests: clear cache between tests (#30458)

Révision 07b7b3ec (diff)
Ajouté par Benjamin Dauvergne il y a environ 5 ans

tests: fix vivaticket tests inconsistencies (#30458)

Révision 10f15aca (diff)
Ajouté par Benjamin Dauvergne il y a environ 5 ans

tests: fix grenoble_gru tests inconsistencies (#30458)

Révision b2189b78 (diff)
Ajouté par Benjamin Dauvergne il y a environ 5 ans

tests: fix inconsistencies in opengis tests (#30458)

Révision fe2772af (diff)
Ajouté par Benjamin Dauvergne il y a environ 5 ans

tests: mark some base_adresse tests as expected to fail (#30458)

Révision 3a6c697a (diff)
Ajouté par Benjamin Dauvergne il y a environ 5 ans

tests: fix null character in charfield (#30458)

Révision 235971b1 (diff)
Ajouté par Benjamin Dauvergne il y a environ 5 ans

tests: run tests with postgres (fixes #30458)

Historique

#1

Mis à jour par Emmanuel Cazenave il y a environ 5 ans

  • Lié à Bug #30455: Connecteur BAN : pas possible de renseigner plus d'un code postal dans l'UI ajouté
#2

Mis à jour par Benjamin Dauvergne il y a environ 5 ans

  • Assigné à mis à Benjamin Dauvergne
#3

Mis à jour par Benjamin Dauvergne il y a environ 5 ans

#4

Mis à jour par Emmanuel Cazenave il y a environ 5 ans

Manque psycopg2 dans tox.ini

#5

Mis à jour par Benjamin Dauvergne il y a environ 5 ans

Avec un nom plus correct pour la base.

#7

Mis à jour par Benjamin Dauvergne il y a environ 5 ans

Ça casse beaucoup de tests qui ne marchaient que parce que les id étaient remis à zéro coté sqlite (parce que je suppose que pour sqlite ça fonctionne par simple copie de la base entre les tests et pas via des transactions comme avec postgresql), genre sur vivaticket certains tests ne fonctionne que parce que le test d'avant a posé une clé de cache pour un id de modèle qui correspond, le 1 (cache pas nettoyé entre les tests :/).

#8

Mis à jour par Benjamin Dauvergne il y a environ 5 ans

J'ai du repasser sur pas mal de tests j'en ai profité pour améliorer le coding style.

#9

Mis à jour par Emmanuel Cazenave il y a environ 5 ans

  • Statut changé de Solution proposée à Solution validée

Désolé pour la review tardive qui te demandera sûrement du travail de rebase.

Ok pour moi, c'est cool.

#10

Mis à jour par Benjamin Dauvergne il y a environ 5 ans

Patch rebasé et poussé sur sa branche finger in the nose \o/ Vive git, j'attends le build et je pousse.

#11

Mis à jour par Benjamin Dauvergne il y a environ 5 ans

  • Statut changé de Solution validée à Résolu (à déployer)
  • % réalisé changé de 0 à 100
#12

Mis à jour par Frédéric Péters il y a environ 5 ans

  • Statut changé de Résolu (à déployer) à Solution déployée
#13

Mis à jour par Benjamin Dauvergne il y a environ 5 ans

  • Statut changé de Solution déployée à Fermé

Formats disponibles : Atom PDF