find failed test

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

find failed test

Koert Kuipers
i just ran:
mvn test -fae > log.txt

at the end of log.txt i find it says there are failures:
[INFO] Spark Project SQL .................................. FAILURE [47:55 min]

that is not very helpful. what tests failed?

i could go scroll up but the file has 21,517 lines. ok let's skip that.

so i figure there are test reports in sql/core/target. i was right! its sq/core/target/surefire-reports. but it has 276 files, so thats still a bit much to go through. i assume there is some nice summary that shows me the failed tests... maybe SparkTestSuite.txt? its 2687 lines, so again a bit much, but i do go through it and find nothing useful.

so... how do i quickly find out which test failed exactly?
there must be some maven trick here?

thanks!
Reply | Threaded
Open this post in threaded view
|

Re: find failed test

Wim Van Leuven
Srsly?

On Sat, 7 Mar 2020 at 03:28, Koert Kuipers <[hidden email]> wrote:
i just ran:
mvn test -fae > log.txt

at the end of log.txt i find it says there are failures:
[INFO] Spark Project SQL .................................. FAILURE [47:55 min]

that is not very helpful. what tests failed?

i could go scroll up but the file has 21,517 lines. ok let's skip that.

so i figure there are test reports in sql/core/target. i was right! its sq/core/target/surefire-reports. but it has 276 files, so thats still a bit much to go through. i assume there is some nice summary that shows me the failed tests... maybe SparkTestSuite.txt? its 2687 lines, so again a bit much, but i do go through it and find nothing useful.

so... how do i quickly find out which test failed exactly?
there must be some maven trick here?

thanks!