mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-27 18:30:38 +00:00
fix: unit tests when enterprise feature is enabled (#7618)
This commit is contained in:
@@ -572,7 +572,7 @@ mod tests {
|
||||
query_interval,
|
||||
} = alter.operation.trigger_on.unwrap();
|
||||
let DurationExpr { duration, raw_expr } = query_interval;
|
||||
assert_eq!(query.to_string(), "(SELECT * FROM test_table)");
|
||||
assert_eq!(query.to_string(), "SELECT * FROM test_table");
|
||||
assert_eq!(raw_expr, "'5 minute'::INTERVAL");
|
||||
assert_eq!(duration, Duration::from_secs(300));
|
||||
assert!(alter.operation.rename.is_none());
|
||||
|
||||
Reference in New Issue
Block a user