You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The resultSet has no guarantee about the order of the returned elements:
Select * FROM %s WHERE ID = '%s'",DEST_TABLE,DN_ADD_EXID
The whileloop is incorrect:
while (rs.next()) {
rowcount ++;
for (int i = 1; i <= columnCount; i++) {
if (i == 2) // Mail <--------------------- NEVER assume Mail will be at offset 2 !!!
Assert.assertEquals("After 2nd Sync wrong Mail", null,rs.getString(i));
if (i == 7) // Description
Assert.assertEquals("After 2nd Sync wrong Description", DN_ADD_DESC,rs.getString(i));
if (i == 8) // Telephone
Assert.assertEquals("After 2nd Sync wrong Telephone", DN_ADD_TEL,rs.getString(i));
if (text.length() > 0)
text.append(", ");
text.append(rs.getString(i));
}
LOGGER.debug(text.toString());
}
Note that it's not the root cause of the problem. Actually, the MAIL value is not null when it should be.
The test fails because the GraalVM Javascript engine cannot be started:
ScriptEngineManager providers.next(): javax.script.ScriptEngineFactory: Provider com.oracle.truffle.js.scriptengine.GraalJSEngineFactory could not be instantiated
When compiling with jdk17, we get these errors at test step:
The text was updated successfully, but these errors were encountered: