Skip to content

Commit

Permalink
fix bug of IT that error log does not contain the error code
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangdong huang committed Feb 24, 2020
1 parent 9dce619 commit ab362f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -205,7 +205,7 @@ public void functionsNoFilterTest() throws ClassNotFoundException, SQLException
"SELECT max_value(d0.s0),max_value(d1.s1),max_value(d0.s3) FROM root.vehicle");
fail();
} catch (IoTDBSQLException e) {
Assert.assertEquals("Binary statistics does not support: max", e.getMessage());
Assert.assertEquals("500: Binary statistics does not support: max", e.getMessage());
}

hasResultSet = statement.execute(
Expand Down
Expand Up @@ -426,7 +426,7 @@ public void selectWhereUnknownTimeSeriesFromRoot() throws ClassNotFoundException
} catch (SQLException e) {
e.printStackTrace();
assertEquals(
"401: Statement format is not right: Path: [root.vehicle.d0.s10] doesn't correspond to any known time series",
"401: Statement format is not right: Path [root.vehicle.d0.s10] does not exist",
e.getMessage());
}
}
Expand Down

0 comments on commit ab362f3

Please sign in to comment.