Copilot commented on code in PR #19273:
URL: https://github.com/apache/iotdb/pull/19273#discussion_r4574254906
##########
integration-test/src/test/java/org/apache/iotdb/ainode/utils/AINodeTestUtils.java:
##########
@@ -62,7 +62,9 @@ public class AINodeTestUtils {
new AbstractMap.SimpleEntry<>(
"toto", new FakeModelInfo("toto", "toto", "builtin",
"active")),
new AbstractMap.SimpleEntry<>(
- "moment", new FakeModelInfo("moment", "moment", "builtin",
"active")))
+ "moment", new FakeModelInfo("moment", "moment", "builtin",
"active")),
+ new AbstractMap.SimpleEntry<>(
+ "tirex2", new FakeModelInfo("tirex2", "tirex2", "builtin",
"active")))
Review Comment:
Adding `tirex2` to this map makes
`AINodeSharedClusterIT.forecastTableFunctionErrorTest()` run its 2881-step
rejection case for TiRex-2. The assertion in
`integration-test/src/test/java/org/apache/iotdb/ainode/it/AINodeSharedClusterIT.java:414`
expects an upper bound of 2880, but the new model-specific validation returns
320, so the test fails. Parameterize the expected limit per model, using 320
for TiRex-2 and retaining 2880 for existing models.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]