fix(analytics): revise the test cases.

This commit is contained in:
Haojun Liao 2025-03-05 13:10:41 +08:00
parent 2c92cca603
commit 04c2ecce69
1 changed files with 3 additions and 3 deletions

View File

@ -88,9 +88,9 @@ sql_error select count(*) from ct1 anomaly_window(c6, 'algo=ksigma,k=2');
sql_error select forecast(c6, 'algo=holtwinters,conf=0.5,wncheck=1,period=0') from ct1
print ==================== invalid timeout parameter
sql_error select forecast(c1, 'algo=holtwinters, timeout=6000') from ct1;
sql_error select forecast(c1, 'algo=holtwinters, timeout=0') from ct1;
print ==================== invalid timeout parameter, will reset the parameters.
sql select forecast(c1, 'algo=holtwinters, timeout=6000') from ct1;
sql select forecast(c1, 'algo=holtwinters, timeout=0') from ct1;
print =========================== valid timeout
sql select forecast(c1, 'algo=holtwinters, timeout=120') from ct1;