Project

General

Profile

Tâche #24835

Scénario #24649: Tests et qualification (35-37)

Fournir un utilitaire simulant une sauvegarde de configuration GenConfig

Added by Daniel Dehennin over 5 years ago. Updated over 5 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
09/05/2018
Due date:
% Done:

100%

Estimated time:
4.00 h
Spent time:
Remaining (hours):
0.0

Description

Certaines variables de configuration sont calculées et enregistrées lors de la sauvegarde de la configuration GenConfig (avant instance).

Ces variables pourraient ne pas être fournies par Jenkins si nous avions un mécanisme permettant de simuler l’ouverture de GenConfig et l’enregistrement de la configuration.

Cet utilitaire serait appelé juste avant l’instanciation des modules tirant leur configuration de eole-ci-tests.

Associated revisions

Revision 34fb34c1 (diff)
Added by Daniel Dehennin over 5 years ago

New utility to simulate a GenConfig load/save

Ref: #24835

Revision 54ed6367 (diff)
Added by Daniel Dehennin over 5 years ago

Simulate a GenConfig load/save after copying the configuration file

This will ensure the configuration correct in regards of automatically
frozen variables

  • scripts/EoleCiFunctions.sh (ciGenConfigSave): call the new utility
    “gen_config_save”.
    (ciConfigurationEole): call “ciGenConfigSave” after installing the
    configuration file from “eole-ci-tests”.

Ref: #24835

History

#1 Updated by Emmanuel GARETTE over 5 years ago

Le test Creole tests/test_genconfig.py fait déjà un équivalent.

La fonction _load charge et _save enregistre.

#2 Updated by Scrum Master over 5 years ago

  • Status changed from Nouveau to En cours

#3 Updated by Scrum Master over 5 years ago

  • Description updated (diff)
  • Assigned To set to Daniel Dehennin

#4 Updated by Daniel Dehennin over 5 years ago

  • % Done changed from 0 to 100
  • Remaining (hours) changed from 4.0 to 0.25

#5 Updated by Scrum Master over 5 years ago

  • Status changed from En cours to Résolu

#6 Updated by Joël Cuissinat over 5 years ago

Vu

#7 Updated by Joël Cuissinat over 5 years ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) changed from 0.25 to 0.0

Also available in: Atom PDF