File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed
integration-test/src/test/java/org/apache/iotdb/ainode/utils Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -118,15 +118,22 @@ public static void concurrentInference(
118118 }
119119 if (expectedOutputLength != outputCnt ) {
120120 allPass .set (false );
121+ fail (
122+ "Output count mismatch for SQL: "
123+ + sql
124+ + ". Expected: "
125+ + expectedOutputLength
126+ + ", but got: "
127+ + outputCnt );
121128 }
122129 } catch (SQLException e ) {
123- fail (e .getMessage ());
124130 allPass .set (false );
131+ fail (e .getMessage ());
125132 }
126133 }
127134 } catch (Exception e ) {
128- fail (e .getMessage ());
129135 allPass .set (false );
136+ fail (e .getMessage ());
130137 }
131138 });
132139 threads [i ].start ();
@@ -136,8 +143,8 @@ public static void concurrentInference(
136143 if (thread .isAlive ()) {
137144 fail ("Thread timeout after 10 minutes" );
138145 }
139- Assert .assertTrue (allPass .get ());
140146 }
147+ Assert .assertTrue (allPass .get ());
141148 }
142149
143150 public static void checkModelOnSpecifiedDevice (Statement statement , String modelId , String device )
You can’t perform that action at this time.
0 commit comments