Project

General

Profile

Tâche #21275

Scénario #20121: L'onglet Squid en mode expert devrait permettre de saisir des temps en secondes

Gérer la mise à jour des valeurs

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

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
09/08/2017
Due date:
% Done:

100%

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

Description

  • prévoir la mise à jour des valeurs personnalisées (x60) à l'upgrade de la configuration 2.6.1 -> 2.6.2
  • ajouter un test unitaire correspondant dans "test_upgrade.py"

Associated revisions

Revision 616bcb97 (diff)
Added by Joël Cuissinat over 3 years ago

Migration des variables Squid modifiées (min => sec)

Ref: #21275

Revision 05d68f90 (diff)
Added by Joël Cuissinat over 3 years ago

Test unitaire : migration des variables Squid modifiées

Ref: #21275

History

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

  • Status changed from Nouveau to En cours

#2 Updated by Joël Cuissinat over 3 years ago

  • Description updated (diff)
  • Assigned To set to Joël Cuissinat

#3 Updated by Joël Cuissinat over 3 years ago

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

#4 Updated by Scrum Master over 3 years ago

  • Status changed from En cours to Résolu

#5 Updated by Gérald Schwartzmann over 3 years ago

  • Remaining (hours) changed from 0.25 to 0.0

#6 Updated by Gérald Schwartzmann over 3 years ago

La Révision 616bcb97 n'était pas packagé

root@amon:/var/log/eoleflask# rgrep -E "^forward_timeout|^connect_timeout|^peer_connect_timeout|^read_timeout|^request_timeout|^persistent_request_timeout" /etc/squid/
/etc/squid/common-squid2.conf:forward_timeout 300 seconds
/etc/squid/common-squid2.conf:connect_timeout 60 seconds
/etc/squid/common-squid2.conf:peer_connect_timeout 30 seconds
/etc/squid/common-squid2.conf:read_timeout 960 seconds
/etc/squid/common-squid2.conf:request_timeout 120 seconds
/etc/squid/common-squid2.conf:persistent_request_timeout 180 seconds
root@amon:/var/log/eoleflask# 
# apt-eole install creole-tests
root@amon:/usr/share/creole/tests# py.test test_upgrade.py
==================================================================== test session starts =====================================================================
platform linux2 -- Python 2.7.12, pytest-2.8.7, py-1.4.31, pluggy-0.3.1
rootdir: /usr/share/creole/tests, inifile: 
collected 17 items 

test_upgrade.py .................

================================================================= 17 passed in 41.03 seconds =================================================================
root@amon:/usr/share/creole/tests# 

#7 Updated by Gérald Schwartzmann over 3 years ago

  • Status changed from Résolu to Fermé

Also available in: Atom PDF