Skip to content

Conversation

@matriv
Copy link
Contributor

@matriv matriv commented Sep 30, 2019

Add examples of failures for both sql and csv tests and
instructions on how to mute them.

Add examples of failures for both sql and csv tests and
instructions on how to mute them.
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search

@matriv
Copy link
Contributor Author

matriv commented Sep 30, 2019

@elasticmachine run elasticsearch-ci/2

Copy link
Contributor

@astefan astefan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but the instructions about which file to check is the same for both sql-spec and csv-spec files. Since you have two examples files - sql and csv - I am assuming you'd want to reference each of them in the corresponding file type.

@matriv
Copy link
Contributor Author

matriv commented Sep 30, 2019

@astefan, Thx, made some global replace at some point and messed it up.

Copy link
Member

@costin costin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a few minor comments - LGTM otherwise.

// java.lang.AssertionError: Elasticsearch [JdbcResultSet:row 4:cursor size 2:[languages<type=[BYTE]>, 'F'<type=[DOUBLE]>]] still has data after [3] entries:
// 3 | 53660.0
// at __randomizedtesting.SeedInfo.seed([81AF0740AC9F7D95:9FB389A0263106D]:0)
// at org.elasticsearch.xpack.sql.qa.single_node.JdbcCsvSpecIT.pivot.testAverageWithOneValueAndLimit(pivot.csv-spec:95)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's worth pointing out that the stacktrace contains the file and line of the test that fails, just in case the assignee hasn't noticed that already.



// Test failure example:
// org.elasticsearch.xpack.sql.qa.single_node.JdbcSqlSpecIT > test {agg.testGroupByOnText} FAILED
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This stacktrace is not useful, one with the .sql resource in it is more common (similar to the csv one).

@matriv matriv merged commit 591bba4 into elastic:master Oct 1, 2019
@matriv matriv deleted the examples-mute-sql-tests branch October 1, 2019 06:11
matriv added a commit that referenced this pull request Oct 1, 2019
Add examples of failures for both sql and csv integeration
tests and instructions on how to mute them.

(cherry picked from commit 591bba4)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants