File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 6
6
7
7
import pytest
8
8
9
- LOGGER_INIT_SLA : float = 0.001
9
+ LOGGER_INIT_SLA : float = 0.005
10
10
METRICS_INIT_SLA : float = 0.005
11
11
TRACER_INIT_SLA : float = 0.5
12
12
IMPORT_INIT_SLA : float = 0.035
@@ -48,7 +48,7 @@ def test_import_times_ceiling():
48
48
49
49
elapsed = t ()
50
50
if elapsed > IMPORT_INIT_SLA :
51
- pytest .fail (f"High level imports should be below 35ms : { elapsed } " )
51
+ pytest .fail (f"High level imports should be below $ { IMPORT_INIT_SLA } s : { elapsed } " )
52
52
53
53
54
54
@pytest .mark .perf
@@ -64,7 +64,7 @@ def test_tracer_init():
64
64
65
65
elapsed = t ()
66
66
if elapsed > TRACER_INIT_SLA :
67
- pytest .fail (f"High level imports should be below 50ms : { elapsed } " )
67
+ pytest .fail (f"High level imports should be below $ { TRACER_INIT_SLA } s : { elapsed } " )
68
68
69
69
70
70
@pytest .mark .perf
@@ -78,7 +78,7 @@ def test_metrics_init():
78
78
79
79
elapsed = t ()
80
80
if elapsed > METRICS_INIT_SLA :
81
- pytest .fail (f"High level imports should be below 40ms : { elapsed } " )
81
+ pytest .fail (f"High level imports should be below $ { METRICS_INIT_SLA } s : { elapsed } " )
82
82
83
83
84
84
@pytest .mark .perf
@@ -92,4 +92,4 @@ def test_logger_init():
92
92
93
93
elapsed = t ()
94
94
if elapsed > LOGGER_INIT_SLA :
95
- pytest .fail (f"High level imports should be below 40ms : { elapsed } " )
95
+ pytest .fail (f"High level imports should be below $ { LOGGER_INIT_SLA } s : { elapsed } " )
You can’t perform that action at this time.
0 commit comments