mirror of
https://github.com/FirebirdSQL/firebird-qa.git
synced 2025-01-22 21:43:06 +01:00
Added/Updated tests\bugs\gh_8187_test.py: Separated definition of MAX_RATIO value, it depends on OS.
This commit is contained in:
parent
3db2709f83
commit
c4eb110236
@ -23,6 +23,10 @@ NOTES:
|
|||||||
|
|
||||||
Confirmed bug on 6.0.0.405.
|
Confirmed bug on 6.0.0.405.
|
||||||
Checked on Windows, 6.0.0.406, 5.0.1.1469, 4.0.5.3139 (SS and CS).
|
Checked on Windows, 6.0.0.406, 5.0.1.1469, 4.0.5.3139 (SS and CS).
|
||||||
|
|
||||||
|
[08.08.2024] pzotov
|
||||||
|
Separated definition of MAX_RATIO value, it depends on OS.
|
||||||
|
Linux results show that medians ratio is about 2.3 ... 2.6.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import psutil
|
import psutil
|
||||||
@ -50,8 +54,9 @@ N_COUNT_PER_MEASURE_GUID = 100000
|
|||||||
|
|
||||||
# Maximal value for ratio between maximal and minimal medians
|
# Maximal value for ratio between maximal and minimal medians
|
||||||
#
|
#
|
||||||
MAX_RATIO = 1
|
###########################################
|
||||||
#############
|
MAX_RATIO = 1.0 if os.name == 'nt' else 5.5
|
||||||
|
###########################################
|
||||||
|
|
||||||
init_script = \
|
init_script = \
|
||||||
f'''
|
f'''
|
||||||
|
Loading…
Reference in New Issue
Block a user