Skip to content

Commit

Permalink
Disable flaky test in JdbcTestIT.
Browse files Browse the repository at this point in the history
Signed-off-by: penghuo <[email protected]>
  • Loading branch information
penghuo committed Mar 9, 2022
1 parent eb1ede4 commit d307ee7
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ public void testPercentilesQuery() {
assertThat(percentileRow.getDouble("99.9"), equalTo(39.0));
}

@Ignore("flaky test, trigger resource not enough exception. "
+ "ORDER BY date_format(insert_time, 'dd-MM-YYYY') can't be pushed down ")
public void testDateTimeInQuery() {
JSONObject response = executeJdbcRequest(
"SELECT date_format(insert_time, 'dd-MM-YYYY') " +
Expand All @@ -55,6 +57,8 @@ public void testDateTimeInQuery() {
equalTo("17-08-2014"));
}

@Ignore("flaky test, trigger resource not enough exception. "
+ "ORDER BY all_client/10 can't be pushed down ")
public void testDivisionInQuery() {
JSONObject response = executeJdbcRequest(
"SELECT all_client/10 from opensearch-sql_test_index_online ORDER BY all_client/10 desc limit 1");
Expand Down

0 comments on commit d307ee7

Please sign in to comment.