Open mwnd opened 3 years ago
Could you share some more details on how to run those tests?
I didn't install RedisLab Test framework. I simply run below modified python code (from test_ooo.py) to ingest sample data. Then when I query with ts.range ooo 1000 1000
, I found problems.
import random
#import pytest
import redis
#from RLTest import Env
from test_helper_classes import _get_ts_info
r = redis.Redis()
quantity = 50001
#type_list = ['', 'UNCOMPRESSED']
type_list = ['']
for chunk_type in type_list:
r.execute_command('ts.create', 'no_ooo', chunk_type, 'CHUNK_SIZE', 100, 'DUPLICATE_POLICY', 'BLOCK')
r.execute_command('ts.create', 'ooo', chunk_type, 'CHUNK_SIZE', 100, 'DUPLICATE_POLICY', 'LAST')
for i in range(0, quantity, 5):
r.execute_command('ts.add no_ooo', i, i)
for i in range(0, quantity, 10):
r.execute_command('ts.add ooo', i, i)
for i in range(5, quantity, 10): # limit
r.execute_command('ts.add ooo', i, i)
- @tporadowski is there a solution to run Redis TimeSeries on windows without wsl or docker?
I have same question. is there any solution?
I tried to port the RedisTimeSeries module to Windows but when I run the provided _testooo.py unit test, ranged query TS.RANGE doesn't always return the expected result.
I used different code branches, various compile flags, disabled optimizations, etc. but all I see is the same querying issue. I'm not sure if Redis Windows 5.0 has something to do with it.
Below code is what I modified based on 1.4.10 official branch and build in VS2019. https://github.com/mwnd/RedisTimeSeries/compare/main...1.4.10_win
Hope someone can shed some light.