Project

General

Profile

Tâche #23843

Scénario #23694: EOLE 2.7.0 et certificats SSL : faire fonctionner les services qui ne démarrent plus suite à la génération par openssl des clés privées

Adapter le test unitaire existant

Added by Joël Cuissinat almost 3 years ago. Updated almost 3 years ago.

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

100%

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

Description

Cf. http://jenkins.eole.lan/jenkins/job/2.7.0/job/test-moduletests-eolebase-2.7.0-amd64/buildTimeTrend mais qui est également rouge à cause de

root@eolebase:~# apt-eole install creole-tests
   [ ... ]
root@eolebase:~# py.test /usr/share/creole/tests/test_upgrade.py -k test_upgrade_cert_empty
   [ ... ]
>       assert _get_value(config, 'server_key') == '/etc/ssl/certs/eole.key'
E       AssertionError: assert '/etc/ssl/private/eole.key' == '/etc/ssl/certs/eole.key'
E         - /etc/ssl/private/eole.key
E         ?          ^ --- ^
E         + /etc/ssl/certs/eole.key
E         ?          ^^  ^

/usr/share/creole/tests/test_upgrade.py:295: AssertionError

Associated revisions

Revision 4a70779c (diff)
Added by Joël Cuissinat almost 3 years ago

Unit test : update default server_key 2.7.0 value

Ref: #23843

History

#1 Updated by Joël Cuissinat almost 3 years ago

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

#2 Updated by Scrum Master almost 3 years ago

  • Status changed from En cours to Résolu

#3 Updated by Scrum Master almost 3 years ago

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

Also available in: Atom PDF