6
0
mirror of https://github.com/FirebirdSQL/firebird-qa.git synced 2025-01-22 13:33:07 +01:00

Added/Updated tests\bugs\core_0214_test.py: Made MAX_RATIO different for Windows vs Linux. Increased its value on Linux: in some cases it can be more than 2.33

This commit is contained in:
pavel-zotov 2024-12-03 12:08:59 +03:00
parent 3ea708d076
commit 8db3d1b57b

View File

@ -33,7 +33,11 @@ NOTES:
Test for these datatypes will be added after fix of this ticked.
Checked on Windiws (SS/CS): 6.0.0.535; 5.0.2.1569; 4.0.6.3169.
[03.12.2024] pzotov
Made MAX_RATIO different for Windows vs Linux. Increased its value on Linux: in some cases it can be more than 2.33
"""
import os
import psutil
import time
import pytest
@ -52,7 +56,7 @@ def median(lst):
N_MEASURES = 11
PAGE_SIZE = 8192
N_ROWS_CNT= 100000
MAX_RATIO = 2.0
MAX_RATIO = 2.0 if os.name == 'nt' else 3.0
#----------------------------------------------------
# NOT yet used. See #8330: